pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remil (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-5340) Unable to compile files in PIG
Date Sun, 03 Jun 2018 11:11:00 GMT
Remil created PIG-5340:
--------------------------

             Summary: Unable to compile files in PIG
                 Key: PIG-5340
                 URL: https://issues.apache.org/jira/browse/PIG-5340
             Project: Pig
          Issue Type: Bug
            Reporter: Remil


hadoopuser@sherin-VirtualBox:/usr/local/pig/pig-0.17.0-src/tutorial$ sudo ant jar
Buildfile: /usr/local/pig/pig-0.17.0-src/tutorial/build.xml

init:

compile:
 [echo] *** Compiling Tutorial files ***
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/build.xml:66: warning: 'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
 [javac] Compiling 7 source files to /usr/local/pig/pig-0.17.0-src/tutorial/build/classes
 [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
 [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
 [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
 [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:24:
error: cannot find symbol
 [javac] import org.apache.pig.EvalFunc;
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:25:
error: cannot find symbol
 [javac] import org.apache.pig.FuncSpec;
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:26:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.Tuple;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:27:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DataType;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:28:
error: package org.apache.pig.impl.logicalLayer.schema does not exist
 [javac] import org.apache.pig.impl.logicalLayer.schema.Schema;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:29:
error: package org.apache.pig.impl.logicalLayer does not exist
 [javac] import org.apache.pig.impl.logicalLayer.FrontendException;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:35:
error: cannot find symbol
 [javac] public class ExtractHour extends EvalFunc<String> {
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:36:
error: cannot find symbol
 [javac] public String exec(Tuple input) throws IOException {
 [javac] ^
 [javac] symbol: class Tuple
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:54:
error: cannot find symbol
 [javac] public Schema outputSchema(Schema input) {
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:54:
error: cannot find symbol
 [javac] public Schema outputSchema(Schema input) {
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:63:
error: cannot find symbol
 [javac] public List<FuncSpec> getArgToFuncMapping() throws FrontendException {
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:63:
error: cannot find symbol
 [javac] public List<FuncSpec> getArgToFuncMapping() throws FrontendException {
 [javac] ^
 [javac] symbol: class FrontendException
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:26:
error: cannot find symbol
 [javac] import org.apache.pig.EvalFunc;
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:27:
error: cannot find symbol
 [javac] import org.apache.pig.FuncSpec;
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:28:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DataBag;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:29:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DataType;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:30:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DefaultBagFactory;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:31:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.Tuple;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:32:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.TupleFactory;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:33:
error: package org.apache.pig.impl.logicalLayer does not exist
 [javac] import org.apache.pig.impl.logicalLayer.FrontendException;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:34:
error: package org.apache.pig.impl.logicalLayer.schema does not exist
 [javac] import org.apache.pig.impl.logicalLayer.schema.Schema;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:44:
error: cannot find symbol
 [javac] public class NGramGenerator extends EvalFunc<DataBag> {
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:44:
error: cannot find symbol
 [javac] public class NGramGenerator extends EvalFunc<DataBag> {
 [javac] ^
 [javac] symbol: class DataBag
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:48:
error: cannot find symbol
 [javac] public DataBag exec(Tuple input) throws IOException {
 [javac] ^
 [javac] symbol: class Tuple
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:48:
error: cannot find symbol
 [javac] public DataBag exec(Tuple input) throws IOException {
 [javac] ^
 [javac] symbol: class DataBag
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:75:
error: cannot find symbol
 [javac] public Schema outputSchema(Schema input) {
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:75:
error: cannot find symbol
 [javac] public Schema outputSchema(Schema input) {
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:91:
error: cannot find symbol
 [javac] public List<FuncSpec> getArgToFuncMapping() throws FrontendException {
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:91:
error: cannot find symbol
 [javac] public List<FuncSpec> getArgToFuncMapping() throws FrontendException {
 [javac] ^
 [javac] symbol: class FrontendException
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NonURLDetector.java:26:
error: cannot find symbol
 [javac] import org.apache.pig.FilterFunc;
 [javac] ^
 [javac] symbol: class FilterFunc
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NonURLDetector.java:27:
error: cannot find symbol
 [javac] import org.apache.pig.FuncSpec;
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NonURLDetector.java:28:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.Tuple;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NonURLDetector.java:29:
error: package org.apache.pig.impl.logicalLayer.schema does not exist
 [javac] import org.apache.pig.impl.logicalLayer.schema.Schema;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NonURLDetector.java:30:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DataType;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NonURLDetector.java:31:
error: package org.apache.pig.impl.logicalLayer does not exist
 [javac] import org.apache.pig.impl.logicalLayer.FrontendException;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NonURLDetector.java:37:
error: cannot find symbol
 [javac] public class NonURLDetector extends FilterFunc {
 [javac] ^
 [javac] symbol: class FilterFunc
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NonURLDetector.java:41:
error: cannot find symbol
 [javac] public Boolean exec(Tuple arg0) throws IOException {
 [javac] ^
 [javac] symbol: class Tuple
 [javac] location: class NonURLDetector
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NonURLDetector.java:71:
error: cannot find symbol
 [javac] public List<FuncSpec> getArgToFuncMapping() throws FrontendException {
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: class NonURLDetector
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NonURLDetector.java:71:
error: cannot find symbol
 [javac] public List<FuncSpec> getArgToFuncMapping() throws FrontendException {
 [javac] ^
 [javac] symbol: class FrontendException
 [javac] location: class NonURLDetector
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:27:
error: cannot find symbol
 [javac] import org.apache.pig.EvalFunc;
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:28:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DataBag;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:29:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DataType;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:30:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DefaultBagFactory;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:31:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.Tuple;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:32:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.TupleFactory;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:33:
error: package org.apache.pig.impl.logicalLayer does not exist
 [javac] import org.apache.pig.impl.logicalLayer.FrontendException;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:34:
error: package org.apache.pig.impl.logicalLayer.schema does not exist
 [javac] import org.apache.pig.impl.logicalLayer.schema.Schema;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:48:
error: cannot find symbol
 [javac] public class ScoreGenerator extends EvalFunc<DataBag> {
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:48:
error: cannot find symbol
 [javac] public class ScoreGenerator extends EvalFunc<DataBag> {
 [javac] ^
 [javac] symbol: class DataBag
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:75:
error: cannot find symbol
 [javac] public DataBag exec(Tuple input) throws IOException {
 [javac] ^
 [javac] symbol: class Tuple
 [javac] location: class ScoreGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:75:
error: cannot find symbol
 [javac] public DataBag exec(Tuple input) throws IOException {
 [javac] ^
 [javac] symbol: class DataBag
 [javac] location: class ScoreGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:123:
error: cannot find symbol
 [javac] public Schema outputSchema(Schema input) {
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class ScoreGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ScoreGenerator.java:123:
error: cannot find symbol
 [javac] public Schema outputSchema(Schema input) {
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class ScoreGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:24:
error: cannot find symbol
 [javac] import org.apache.pig.EvalFunc;
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:25:
error: cannot find symbol
 [javac] import org.apache.pig.FuncSpec;
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:26:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.Tuple;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:27:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DataType;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:28:
error: package org.apache.pig.impl.logicalLayer.schema does not exist
 [javac] import org.apache.pig.impl.logicalLayer.schema.Schema;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:29:
error: package org.apache.pig.impl.logicalLayer does not exist
 [javac] import org.apache.pig.impl.logicalLayer.FrontendException;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:35:
error: cannot find symbol
 [javac] public class ToLower extends EvalFunc<String> {
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:36:
error: cannot find symbol
 [javac] public String exec(Tuple input) throws IOException {
 [javac] ^
 [javac] symbol: class Tuple
 [javac] location: class ToLower
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:54:
error: cannot find symbol
 [javac] public Schema outputSchema(Schema input) {
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class ToLower
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:54:
error: cannot find symbol
 [javac] public Schema outputSchema(Schema input) {
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class ToLower
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:63:
error: cannot find symbol
 [javac] public List<FuncSpec> getArgToFuncMapping() throws FrontendException {
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: class ToLower
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ToLower.java:63:
error: cannot find symbol
 [javac] public List<FuncSpec> getArgToFuncMapping() throws FrontendException {
 [javac] ^
 [javac] symbol: class FrontendException
 [javac] location: class ToLower
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:24:
error: cannot find symbol
 [javac] import org.apache.pig.EvalFunc;
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:25:
error: cannot find symbol
 [javac] import org.apache.pig.FilterFunc;
 [javac] ^
 [javac] symbol: class FilterFunc
 [javac] location: package org.apache.pig
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:26:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DataBag;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:27:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.DefaultBagFactory;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:28:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.Tuple;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:29:
error: package org.apache.pig.data does not exist
 [javac] import org.apache.pig.data.TupleFactory;
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:33:
error: cannot find symbol
 [javac] private static Tuple[] getTuples(String[] queries) {
 [javac] ^
 [javac] symbol: class Tuple
 [javac] location: class TutorialTest
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:42:
error: cannot find symbol
 [javac] public static String[] testDataAtomEvals(EvalFunc<String> eval, Tuple[] tuples)
{
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] location: class TutorialTest
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:42:
error: cannot find symbol
 [javac] public static String[] testDataAtomEvals(EvalFunc<String> eval, Tuple[] tuples)
{
 [javac] ^
 [javac] symbol: class Tuple
 [javac] location: class TutorialTest
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:59:
error: cannot find symbol
 [javac] public static DataBag[] testDataBagEvals(EvalFunc<DataBag> eval, Tuple[] tuples)
{
 [javac] ^
 [javac] symbol: class EvalFunc
 [javac] location: class TutorialTest
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:59:
error: cannot find symbol
 [javac] public static DataBag[] testDataBagEvals(EvalFunc<DataBag> eval, Tuple[] tuples)
{
 [javac] ^
 [javac] symbol: class DataBag
 [javac] location: class TutorialTest
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:59:
error: cannot find symbol
 [javac] public static DataBag[] testDataBagEvals(EvalFunc<DataBag> eval, Tuple[] tuples)
{
 [javac] ^
 [javac] symbol: class Tuple
 [javac] location: class TutorialTest
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:59:
error: cannot find symbol
 [javac] public static DataBag[] testDataBagEvals(EvalFunc<DataBag> eval, Tuple[] tuples)
{
 [javac] ^
 [javac] symbol: class DataBag
 [javac] location: class TutorialTest
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:76:
error: cannot find symbol
 [javac] public static String[] testFilters (FilterFunc filter, Tuple[] tuples) {
 [javac] ^
 [javac] symbol: class FilterFunc
 [javac] location: class TutorialTest
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/TutorialTest.java:76:
error: cannot find symbol
 [javac] public static String[] testFilters (FilterFunc filter, Tuple[] tuples) {
 [javac] ^
 [javac] symbol: class Tuple
 [javac] location: class TutorialTest
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:48:
error: method does not override or implement a method from a supertype
 [javac] @Override
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:55:
error: cannot find symbol
 [javac] return new Schema(new Schema.FieldSchema(getSchemaName(this.getClass().getName().toLowerCase(),
input), DataType.CHARARRAY));
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:55:
error: package Schema does not exist
 [javac] return new Schema(new Schema.FieldSchema(getSchemaName(this.getClass().getName().toLowerCase(),
input), DataType.CHARARRAY));
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:55:
error: cannot find symbol
 [javac] return new Schema(new Schema.FieldSchema(getSchemaName(this.getClass().getName().toLowerCase(),
input), DataType.CHARARRAY));
 [javac] ^
 [javac] symbol: method getClass()
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:55:
error: cannot find symbol
 [javac] return new Schema(new Schema.FieldSchema(getSchemaName(this.getClass().getName().toLowerCase(),
input), DataType.CHARARRAY));
 [javac] ^
 [javac] symbol: variable DataType
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:62:
error: method does not override or implement a method from a supertype
 [javac] @Override
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:64:
error: cannot find symbol
 [javac] List<FuncSpec> funcList = new ArrayList<FuncSpec>();
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:64:
error: cannot find symbol
 [javac] List<FuncSpec> funcList = new ArrayList<FuncSpec>();
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:65:
error: cannot find symbol
 [javac] funcList.add(new FuncSpec(this.getClass().getName(), new Schema(new Schema.FieldSchema(null,
DataType.CHARARRAY))));
 [javac] ^
 [javac] symbol: class FuncSpec
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:65:
error: cannot find symbol
 [javac] funcList.add(new FuncSpec(this.getClass().getName(), new Schema(new Schema.FieldSchema(null,
DataType.CHARARRAY))));
 [javac] ^
 [javac] symbol: method getClass()
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:65:
error: cannot find symbol
 [javac] funcList.add(new FuncSpec(this.getClass().getName(), new Schema(new Schema.FieldSchema(null,
DataType.CHARARRAY))));
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:65:
error: package Schema does not exist
 [javac] funcList.add(new FuncSpec(this.getClass().getName(), new Schema(new Schema.FieldSchema(null,
DataType.CHARARRAY))));
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/ExtractHour.java:65:
error: cannot find symbol
 [javac] funcList.add(new FuncSpec(this.getClass().getName(), new Schema(new Schema.FieldSchema(null,
DataType.CHARARRAY))));
 [javac] ^
 [javac] symbol: variable DataType
 [javac] location: class ExtractHour
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:52:
error: cannot find symbol
 [javac] DataBag output = DefaultBagFactory.getInstance().newDefaultBag();
 [javac] ^
 [javac] symbol: class DataBag
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:52:
error: cannot find symbol
 [javac] DataBag output = DefaultBagFactory.getInstance().newDefaultBag();
 [javac] ^
 [javac] symbol: variable DefaultBagFactory
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:58:
error: cannot find symbol
 [javac] Tuple t = TupleFactory.getInstance().newTuple(1);
 [javac] ^
 [javac] symbol: class Tuple
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:58:
error: cannot find symbol
 [javac] Tuple t = TupleFactory.getInstance().newTuple(1);
 [javac] ^
 [javac] symbol: variable TupleFactory
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:69:
error: method does not override or implement a method from a supertype
 [javac] @Override
 [javac] ^
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:76:
error: cannot find symbol
 [javac] Schema bagSchema = new Schema();
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class NGramGenerator
 [javac] /usr/local/pig/pig-0.17.0-src/tutorial/src/org/apache/pig/tutorial/NGramGenerator.java:76:
error: cannot find symbol
 [javac] Schema bagSchema = new Schema();
 [javac] ^
 [javac] symbol: class Schema
 [javac] location: class NGramGenerator
 [javac] 100 errors
 [javac] 4 warnings

BUILD FAILED
/usr/local/pig/pig-0.17.0-src/tutorial/build.xml:66: Compile failed; see the compiler error
output for details.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message