Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9134 Uber JIRA to track HOS performance work
  3. HIVE-9127

Improve CombineHiveInputFormat.getSplit performance

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 1.1.0
    • None
    • None

    Description

      In HIVE-7431 we disabled caching of Map/Reduce works because some tasks would fail. However, we should be able to cache these objects in RSC for split generation. See: https://issues.apache.org/jira/browse/HIVE-9124?focusedCommentId=14248622&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14248622 how this impacts performance.

      Caller ST:

      ....
      2014-12-16 14:36:22,202 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileInputFormatShim.getSplits(HadoopShimsSecure.java:328)
      2014-12-16 14:36:22,202 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getCombineSplits(CombineHiveInputFormat.java:421)
      2014-12-16 14:36:22,202 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(CombineHiveInputFormat.java:510)
      2014-12-16 14:36:22,202 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.HadoopRDD.getPartitions(HadoopRDD.scala:201)
      2014-12-16 14:36:22,202 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:205)
      2014-12-16 14:36:22,202 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:203)
      2014-12-16 14:36:22,202 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at scala.Option.getOrElse(Option.scala:120)
      2014-12-16 14:36:22,202 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.RDD.partitions(RDD.scala:203)
      2014-12-16 14:36:22,202 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.MapPartitionsRDD.getPartitions(MapPartitionsRDD.scala:32)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:205)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:203)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at scala.Option.getOrElse(Option.scala:120)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.RDD.partitions(RDD.scala:203)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.ShuffleDependency.<init>(Dependency.scala:79)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.ShuffledRDD.getDependencies(ShuffledRDD.scala:80)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.RDD$$anonfun$dependencies$2.apply(RDD.scala:192)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.RDD$$anonfun$dependencies$2.apply(RDD.scala:190)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at scala.Option.getOrElse(Option.scala:120)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.rdd.RDD.dependencies(RDD.scala:190)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.scheduler.DAGScheduler.visit$1(DAGScheduler.scala:301)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.scheduler.DAGScheduler.getParentStages(DAGScheduler.scala:313)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.scheduler.DAGScheduler.newStage(DAGScheduler.scala:247)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.scheduler.DAGScheduler.handleJobSubmitted(DAGScheduler.scala:735)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.scheduler.DAGSchedulerEventProcessActor$$anonfun$receive$2.applyOrElse(DAGScheduler.scala:1382)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at org.apache.spark.scheduler.DAGSchedulerEventProcessActor.aroundReceive(DAGScheduler.scala:1368)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at akka.actor.ActorCell.invoke(ActorCell.scala:487)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at akka.dispatch.Mailbox.run(Mailbox.scala:220)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      2014-12-16 14:36:22,203 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      2014-12-16 14:36:22,204 INFO  [stdout-redir-1]: client.SparkClientImpl (SparkClientImpl.java:run(435)) -        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      

      Attachments

        1. HIVE-9127.3.patch.txt
          5 kB
          Brock Noland
        2. HIVE-9127.2-spark.patch.txt
          6 kB
          Brock Noland
        3. HIVE-9127.1-spark.patch.txt
          5 kB
          Brock Noland

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            brocknoland Brock Noland Assign to me
            brocknoland Brock Noland
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment