Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Support for Hadoop 2.2: Exception while loading xml file using XMLLoader

$
0
0
Hi Team,

I am getting attached exception while dumping jobs_data from following pig script:

jobs_data = load '/user/hadoop/input/job_sample2.xml' using org.apache.pig.piggybank.storage.XMLLoader('Job') as (doc:chararray);

loading other format file with option of USING PigStorage('') is working fine.

Thanks in advance for your help.

Regards,
Pravin

Please consider the environment before printing this e-mail

Disclaimer: This communication is for the exclusive use of the intended recipient(s) and shall not attach any liability on the originator or ITC Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group Companies. If you are the addressee, the contents of this e-mail are intended for your use only and it shall not be forwarded to any third party, without first obtaining written authorization from the originator or ITC Infotech India Ltd./ its Holding company/its Subsidiaries/ its Group Companies. It may contain information which is confidential and legally privileged and the same shall not be used or dealt with by any third party in any manner whatsoever without the specific consent of ITC Infotech India Ltd./ its Holding company/ its Subsidiaries/ its Group Companies.

Viewing all articles
Browse latest Browse all 5648

Trending Articles