[ https://issues.apache.org/jira/browse/PIG-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050123#comment-16050123 ]
liyunzhang_intel commented on PIG-5157: --------------------------------------- [~nkollar]: after i download the latest patch from RB, how to compile now? when i use following command {code} ant clean -v -Dhadoopversion=2 jar-spark12 {code} I got following err {noformat} [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 94937 [javac] /home/zly/prj/oss/pig/src/org/apache/pig/backend/hadoop/executionengine/spark/SparkShim2.java:29: error: cannot find symbol 94938 [javac] import org.apache.spark.api.java.Optional; 94939 [javac] ^ 94940 [javac] symbol: class Optional 94941 [javac] location: package org.apache.spark.api.java 94942 [javac] /home/zly/prj/oss/pig/src/org/apache/pig/backend/hadoop/executionengine/spark/SparkShim2.java:99: error: no interface expected here 94943 [javac] private static class JobMetricsListener extends SparkListener { 94944 [javac] ^ 94945 [javac] /home/zly/prj/oss/pig/build/ivy/lib/Pig/hbase-client-1.2.4.jar(org/apache/hadoop/hbase/filter/FilterList.class): warning: Canno t find annotation method 'value()' in type 'SuppressWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressWarnings not found 94946 [javac] /home/zly/prj/oss/pig/build/ivy/lib/Pig/hbase-client-1.2.4.jar(org/apache/hadoop/hbase/filter/FilterList.class): warning: Canno t find annotation method 'justification()' in type 'SuppressWarnings' 94947 [javac] /home/zly/prj/oss/pig/build/ivy/lib/Pig/hbase-common-1.2.4.jar(org/apache/hadoop/hbase/io/ImmutableBytesWritable.class): warnin g: Cannot find annotation method 'value()' in type 'SuppressWarnings' 94948 [javac] /home/zly/prj/oss/pig/build/ivy/lib/Pig/hbase-common-1.2.4.jar(org/apache/hadoop/hbase/io/ImmutableBytesWritable.class): warnin g: Cannot find annotation method 'justification()' in type 'SuppressWarnings' 94949 [javac] /home/zly/prj/oss/pig/build/ivy/lib/Pig/hbase-server-1.2.4.jar(org/apache/hadoop/hbase/mapreduce/TableInputFormat.class): warni ng: Cannot find annotation method 'value()' in type 'SuppressWarnings' 94950 [javac] /home/zly/prj/oss/pig/build/ivy/lib/Pig/hbase-server-1.2.4.jar(org/apache/hadoop/hbase/mapreduce/TableInputFormat.class): warni ng: Cannot find annotation method 'justification()' in type 'SuppressWarnings' 94951 [javac] /home/zly/prj/oss/pig/src/org/apache/pig/backend/hadoop/executionengine/spark/SparkShim2.java:49: error: <anonymous org.apache. pig.backend.hadoop.executionengine.spark.SparkShim2$1> is not abstract and does not override abstract method call(T) in FlatMapFunction 94952 [javac] return new FlatMapFunction<T, R>() { 94953 [javac] ^ {noformat} > Upgrade to Spark 2.0 > -------------------- > > Key: PIG-5157 > URL: https://issues.apache.org/jira/browse/PIG-5157 > Project: Pig > Issue Type: Improvement > Components: spark > Reporter: Nandor Kollar > Assignee: Nandor Kollar > Fix For: 0.18.0 > > Attachments: PIG-5157.patch > > > Upgrade to Spark 2.0 (or latest) -- This message was sent by Atlassian JIRA (v6.4.14#64029)