Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error PIG practice example

Error PIG practice example

New Contributor

Hi There,

I am practicing the PIG example, i have copied the code from the below link

and got the below error: could you please help me

2017-02-14 22:02:36,221 [main] INFO hive.metastore - Connected to metastore.

 2017-02-14 22:02:36,808 [main] ERROR - ERROR 0:  
 <file script.pig, line 9, column 0> Output Location Validation Failed for: 'riskfactor More info to follow: 
 Pig 'double' type in column 2(0-based) cannot map to HCat 'BIGINT'type.  Target filed must be of HCat type {DOUBLE} 
 Details at logfile: /hadoop/yarn/local/usercache/maria_dev/appcache/application_1487106608010_0007/container_1487106608010_0007_01_000002/pig_1487109743097.log

Re: Error PIG practice example


Try approach in the following thread until we fix the tutorial

Don't have an account?
Coming from Hortonworks? Activate your account here