Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15139

HoS local mode fails with NumberFormatException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None

    Description

      It's because we store stageId_attemptNum in JobMetricsListener but expect only stageId in LocalSparkJobStatus.

      java.lang.NumberFormatException: For input string: "0_0"
      	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      	at java.lang.Integer.parseInt(Integer.java:580)
      	at java.lang.Integer.parseInt(Integer.java:615)
      	at org.apache.hadoop.hive.ql.exec.spark.status.impl.LocalSparkJobStatus.getSparkStatistics(LocalSparkJobStatus.java:146)
      	at org.apache.hadoop.hive.ql.exec.spark.SparkTask.execute(SparkTask.java:104)
      	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:199)
      
      

      Attachments

        1. HIVE-15139.1.patch
          14 kB
          Rui Li

        Activity

          People

            lirui Rui Li
            lirui Rui Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: