Member since
12-05-2017
1
Post
0
Kudos Received
0
Solutions
12-06-2017
04:56 PM
I'm trying to follow your tutorial, but I encountered problems:
- first: it didn't find Hive Metastore.class, so I added the .jar into pig directory
- now I'm obtaining in the stdout this: 2017-12-05 15:49:25,008 [ATS Logger 0] INFO org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl - Exception caught by TimelineClientConnectionRetry, will try 1 more time(s).
Message: java.net.ConnectException: Connessione rifiutata (Connection refused)
2017-12-05 15:49:26,011 [ATS Logger 0] INFO org.apache.pig.backend.hadoop.PigATSClient - Failed to submit plan to ATS: Failed to connect to timeline server. Connection retries limit exceeded. The posted timeline event may be missing
Heart beat
Heart beat<br>
My pig code is: r = LOAD 'file.txt' using PigStorage(';') AS (
id:chararray,
privacy_comu:int,
privacy_util:int
);
r_clear = FOREACH r GENERATE TRIM($0) as id, $2 as privacy_trat,$3 as privacy_comu;
STORE r_clear INTO 'db.table' USING org.apache.hive.hcatalog.pig.HCatStorer();
I don't know what setup I need to work to pig with HCatalog and Oozie, could you suggest me any solutions about? @Artem Ervits
Thanks
... View more