Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-8089

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 4.1.0, 4.0.1, 3.5.3
    • Component/s: Security
    • Labels:
      None
    • Rank:
      1|hzzsc7:

      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)

        Attachments

          Activity

            People

            • Assignee:
              sagar Sagar Kapare
              Reporter:
              Nishith Nishith Nand
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: