A= LOAD 'hdfs://10.70.16.91:8020/travel_stats/travel/stats-1453945200000/part-00001' USING PigStorage('\t');
STORE A INTO 'logs/travels' USING org.elasticsearch.hadoop.pig.EsStorage('es.nodes=xx.xx.xx.xx,xx.xx.xx.xx,xx.xx.xx.xx','es.port=9200','es.index.auto.create = true' );
java.lang.Exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Counters:
Total records written : 0
Total bytes written : 0
Spillable Memory Manager spill count : 0
Total bags proactively spilled: 0
Total records proactively spilled: 0
Please help.