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]'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

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.

,

Thrown when a particular method cannot be found. You are probably using a newer version of Hibernate in your application while pre-packaged hibernate jars that come with JBoss are older.

Solutions on the web

via Google Groups by Unknown author, 1 year 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 Apache's JIRA Issue Tracker by Jarek Jarcec Cecho, 1 year ago
could not instantiate 'AvroStorage' with arguments '[, -f test/org/apache/pig/builtin/avro/schema/simpleRecordsTrevni.avsc]'
via pig-user by Divya Gehlot, 1 year ago
could not instantiate 'org.apache.pig.piggybank.storage.DBStorage' with arguments '[oracle.jdbc.driver.OracleDriver, jdbc:oracle:thin:@54.254.166.90:1521:ORCL, riskinsightengine, rie, insert into TEST]'
via pig-user by Divya Gehlot, 1 year ago
could not instantiate 'org.apache.pig.piggybank.storage.DBStorage' with arguments '[oracle.jdbc.driver.OracleDriver, jdbc:oracle:thin:@54.254.166.90:1521:ORCL, riskinsightengine, rie, insert into TEST]'
via Stack Overflow by yzKing
, 2 years ago
could not instantiate 'org.apache.pig.backend.hadoop.hbase.HBaseStorage' with arguments '[gprsinfo:Direction gprsinfo:Latitude gprsinfo:Longitude gprsinfo:Returntime gprsinfo:Speed gprsinfo:Id]'
via pig-user by Divya Gehlot, 1 year ago
could not instantiate 'org.apache.pig.piggybank.storage.DBStorage' with arguments '[oracle.jdbc.driver.OracleDriver, jdbc:oracle:thin:@54.254.166.90:1521:ORCL, riskinsightengine, rie, insert into TEST]'
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)
at org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:607)
at org.apache.pig.parser.LogicalPlanBuilder.buildStoreOp(LogicalPlanBuilder.java:883)
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)

Users with the same issue

3 times, 1 week ago
7 times, 1 month ago
20 times, 1 month ago
Once, 2 months ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.