Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

why im getting an error when entering pig in my hadoop server ? it should be lik

ID: 3739562 • Letter: W

Question

why im getting an error when entering pig in my hadoop server ?

it should be like this below,

job state job mapred id: joh 1522258068558 803 job message: just initialized job has no depending job RUNNING Piglatin:count-poems 2018-03-28 15:51:49,463 [JobControl] DEBUG org.apache.pig.backend.hadoop.PigJobControl - Checking state of job job name job id: job_pigexec job state job mapred id job 1522250068558 0003 job messape just initialized job has no depending job: RUNNING Piglatin:count-poems 2818-03-28 15:51:54,469[JobControl] DEBUG org.apache.pig.backend.hadoop.PiglobControl - Checking state of job job name job id: job_pigexec_ job state job mapred id: job_1522250068558 0003 job message: just initialized job has no depending job: RUNNING 2818-03-28 15:51:56,859 [Thread-e1 INFO or.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReducelauncher - Received kill signal 2818-03-8 15:51:57,127 [Thread-NF ore.apache.hadoop.yarn.client.api.impl.Yarnlient Impl - Killed application application_1527258068558 8ea3 2818-83-28 15:51:5,128 [Thread-a] INFO org.apache-pig.backend.hadoop.executionengine.mapReducelayer.MapReducelauncher Job joh_152275808558 8803 killed 2818-83-28 15:51:57 lob job_1522258868558_803 killed bash-4.1tt pig 18/03/28 15:52:33 INFO pig.ExecTypeProvider: Trying ExecTypeLOCAL 18/03/28 15:52:33 INFO pig.ExecTypeProvider: Trying ExecType MAPREDUCE 18/03/28 15:52:33 INFO pig.ExecTypeProvider: Picked MAPREDUCE as the ExecType 2018 03 28 15:52:33, 364 [main] INFO org.?pache, pig .Main Apache Pig version 0.17.0 (r1797386) compiled Jun 02 2017, 15:41:58 2018-03-28 15:52:33, ??5 [mainl INFO org.apache, pig . Main - Logging error messages to: //p?E 1522266753361 . ÎOR 2018-03-28 15:52:33,489 main] INFO ore.apache.pig. impl.util.Utils - Default bootup file froot/.pigbootup not fourid 81B-03-28 15:52:36,493 [main INFO ore.apache.hadoop.conf.Configuratin.deprecation - mapred.joh.tracker is deprecated. Instead, se mapreduce.jobtracker.address e18-03-28 15:52:36 497 main INFO org apache pig backend hadoop executionengine ill xecutioningine Connecting to hadoop file system at: hdfs:///f60/192bd 4:??? 2818-03-28 15:52:37,929 [main] INFO org.apache.pig.PigServer - Pig Script ID for the session: PIG-default-7f56317-b894-4841-a2d8-7F1603eBdcbh 2018-03-28 15:52:37,929 [main] WARN org.apache.pig.PigServer - ATS is disabled since yarn.timeline-service.enabled set to false

Explanation / Answer

Deprecation tells that for now your command is being executed succesfully but in the upcoming versions of hadoop,

you have to use updated functions as shown above.

for example use fs.defaultFS instead of fs.default.name

They are warnings.

Try replacing them and if u still have error, comment back.