java.lang.RuntimeException

could not instantiate 'com.twitter.elephantbird.pig.store.SequenceFileStorage' wit\ h arguments '[-c com.twitter.elephantbird.pig.util.TextConverter, -c com.twitter.elephantbird.pig.util.TextConverter, -c com.twitter.elephantbird.pig.util.TextConverter, -c com.twi\ tter.elephantbird.pig.util.TextConverter]'

Samebug tips1

I downgraded to spark-notebook scala 2.10 with hadoop 2.6.0 then it worked. Finally switched to Apache Drill, works like a charm for diverse datasets.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web16716

  • via Google Groups by Unknown author, 6 months ago
    could not instantiate 'com.twitter.elephantbird.pig.store.SequenceFileStorage' wit\ h arguments '[-c com.twitter.elephantbird.pig.util.TextConverter, -c com.twitter.elephantbird.pig.util.TextConverter, -c com.twitter.elephantbird.pig.util.TextConverter, -c com.twi\ tter.elephantbird.pig.util.TextConverter]'
  • via GitHub by calmera
    , 1 year ago
    could not instantiate 'com.twitter.elephantbird.pig.store.SequenceFileStorage' with arguments '[-c com.twitter.elephantbird.pig.util.ThriftWritableConverter AdvertisementId, -c com.twitter.elephantbird.pig.util.ThriftWritableConverter Advertisement]'
  • via Google Groups by thynes, 2 weeks ago
    could not resample video from: C:\sample.mp4
  • Stack trace

    • java.lang.RuntimeException: could not instantiate 'com.twitter.elephantbird.pig.store.SequenceFileStorage' wit\ h arguments '[-c com.twitter.elephantbird.pig.util.TextConverter, -c com.twitter.elephantbird.pig.util.TextConverter, -c com.twitter.elephantbird.pig.util.TextConverter, -c com.twi\ tter.elephantbird.pig.util.TextConverter]' at org.apache.pig.parser.LogicalPlanBuilder.buildStoreOp(LogicalPlanBuilder.java:904) at org.apache.pig.parser.LogicalPlanGenerator.store_clause(LogicalPlanGenerator.java:7260) at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:1359) at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:799) at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:517) at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:392) at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:184) Caused by: java.lang.RuntimeException: could not instantiate 'com.twitter.elephantbird.pig.store.SequenceFileStorage' with arguments '[-c com.twitter.elephantbird.pig.util.TextConv\ erter, -c com.twitter.elephantbird.pig.util.TextConverter, -c com.twitter.elephantbird.pig.util.TextConverter, -c com.twitter.elephantbird.pig.util.TextConverter]' at org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:607) at org.apache.pig.parser.LogicalPlanBuilder.buildStoreOp(LogicalPlanBuilder.java:883) ... 7 more Caused by: java.lang.NoSuchMethodException: com.twitter.elephantbird.pig.store.SequenceFileStorage.<init>([Ljava.lang.String;) at java.lang.Class.getConstructor0(Class.java:2721) at java.lang.Class.getConstructor(Class.java:1674) at org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:594) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 years ago
    Unknown user
    Once, 2 years ago
    50 times, 2 days ago
    2 times, 1 month ago
    138 more bugmates