Older versions of Hive (< 0.14?) don't support submit.local.task.via.child property

Description

We added setting SUBMITLOCALTASKVIACHILD to support Explore impersonation. However, this configuration was introduced in Hive 0.14.

java.util.concurrent.ExecutionException: co.cask.cdap.explore.service.ExploreException: Cannot execute query. Reason: Response code: 500, message: 'Internal Server Error', body: 'SUBMITLOCALTASKVIACHILD'
at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:294)
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:267)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:96)
at co.cask.cdap.app.etl.batch.ETLMapReduceTest.retryQueryExecutionTillFinished(ETLMapReduceTest.java:484)
at co.cask.cdap.app.etl.batch.ETLMapReduceTest.testDAGSchemaChanges(ETLMapReduceTest.java:448)
Caused by: co.cask.cdap.explore.service.ExploreException: Cannot execute query. Reason: Response code: 500, message: 'Internal Server Error', body: 'SUBMITLOCALTASKVIACHILD'
at co.cask.cdap.explore.client.ExploreHttpClient.execute(ExploreHttpClient.java:236)
at co.cask.cdap.explore.client.AbstractExploreClient.execute(AbstractExploreClient.java:66)
at co.cask.cdap.explore.client.ExploreHttpClient.execute(ExploreHttpClient.java:220)
at co.cask.cdap.explore.client.AbstractExploreClient.execute(AbstractExploreClient.java:66)
at co.cask.cdap.explore.client.AbstractExploreClient$9.getHandle(AbstractExploreClient.java:203)
at co.cask.cdap.explore.client.AbstractExploreClient$20.call(AbstractExploreClient.java:324)
at co.cask.cdap.explore.client.AbstractExploreClient$20.call(AbstractExploreClient.java:321)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Release Notes

None

Activity

Show:
Sagar Kapare
January 18, 2017, 8:43 PM

We do not support impersonation for older HIVE. Filed this JIRA - https://issues.cask.co/browse/CDAP-8140

Back ported the changes to release/3.5 - https://github.com/caskdata/cdap/pull/7621 and release/4.0 - https://github.com/caskdata/cdap/pull/7622

Terence Yim
January 13, 2017, 7:39 AM

With the fix, how does it affect impersonation? Does it mean we don't support for older hive for impersonation? Or it is still support but just that can't use the constant?

Sagar Kapare
January 13, 2017, 6:07 AM
Nishith Nand
January 13, 2017, 3:28 AM
Nishith Nand
January 13, 2017, 12:23 AM

ITN is currently broken because of this.

Fixed

Assignee

Sagar Kapare

Reporter

Nishith Nand