Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-16833

[Spark2.0]when creating temporary function,command "add jar" doesn't work unless restart spark

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.0.0
    • None
    • None

    Description

      [Spark2.0]when creating temporary function,command "add jar" doesn't work unless restart spark
      Steps:
      1. add jar /tmp/GeoIP-0.6.8.jar;
      2. create temporary function GeoIP2 as 'com.lenovo.lps.device.hive.udf.UDFGeoIP';
      3. select GeoIP2('tdy');
      Error: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 527.0 failed 8 times, most recent failure: Lost task 0.7 in stage 527.0 (TID 140171, smokeslave2.avatar.lenovomm.com): java.lang.RuntimeException: Stream '/jars/GeoIP-0.6.8.jar'' was not found.

      Note: After restart spark,it works.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marymwu marymwu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: