-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: no suitable constructor found while doing building jar (mvn package) #415
Comments
elephant-bird 4.5 with Thrift 0.7.0 installed $ protoc --version [INFO] ------------------------------------------------------------------------ [WARNING] Checksum validation failed, could not read expected checksum: Failed to transfer file: http://maven.twttr.com/org/apache/thrift/libthrift/0.7.0/libthrift-0.7.0.pom.sha1. Return code is: 300 for http://maven.twttr.com/org/apache/thrift/libthrift/0.7.0/libthrift-0.7.0.pom [WARNING] Checksum validation failed, could not read expected checksum: Failed to transfer file: http://maven.twttr.com/org/apache/thrift/libthrift/0.7.0/libthrift-0.7.0.jar.sha1. Return code is: 300 for http://maven.twttr.com/org/apache/thrift/libthrift/0.7.0/libthrift-0.7.0.jar [INFO] ------------------------------------------------------------- Regards. |
I have skipped the problem with |
Hi,
I am facing below error though all pre-requisite are met including Thrift 0.7.0,protoc and jdk 1.7.55 version.
[INFO]
[INFO] Elephant Bird ...................................... SUCCESS [01:06 min]
[INFO] Elephant Bird Hadoop Compatibility ................. SUCCESS [03:09 min]
[INFO] Elephant Bird Core ................................. FAILURE [01:12 min]
[INFO] Elephant Bird Cascading2 ........................... SKIPPED
[INFO] Elephant Bird Crunch ............................... SKIPPED
[INFO] Elephant Bird Hive ................................. SKIPPED
[INFO] Elephant Bird Pig .................................. SKIPPED
[INFO] Elephant Bird Mahout ............................... SKIPPED
[INFO] Elephant Bird RCFile ............................... SKIPPED
[INFO] Elephant Bird Lucene ............................... SKIPPED
[INFO] Elephant Bird Pig Lucene ........................... SKIPPED
[INFO] Elephant Bird Examples ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:28 min
[INFO] Finished at: 2014-08-29T13:41:54+05:30
[INFO] Final Memory: 26M/161M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project elephant-bird-core: Compilation failure: Compilation failure:
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/OneOfEach.java:[189,8] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/com/twitter/elephantbird/thrift/test/TestUnion.java:[110,8] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/Base64.java:[129,8] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/Base64.java:[131,8] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/Base64.java:[133,8] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/Base64.java:[135,8] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/Base64.java:[137,8] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/Base64.java:[139,8] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/CompactProtoTestStruct.java:[355,8] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/CompactProtoTestStruct.java:[382,12] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/CompactProtoTestStruct.java:[409,12] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/CompactProtoTestStruct.java:[442,12] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/CompactProtoTestStruct.java:[471,12] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/thrift/test/ComparableUnion.java:[96,8] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte,String) is not applicable
[ERROR](actual argument boolean cannot be converted to String by method invocation conversion)
[ERROR] constructor FieldValueMetaData.FieldValueMetaData(byte) is not applicable
[ERROR](actual and formal argument lists differ in length)
[ERROR] /u01/Installables/PIG_Related/elephant-bird-master/core/target/generated-test-sources/thrift/com/twitter/elephantbird/thrift/test/TestBinaryInListMap.java:[107,16] error: no suitable constructor found for FieldValueMetaData(byte,boolean)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :elephant-bird-core
[root@bigdata1 elephant-bird-master]#
Regards,
Snehotosh
The text was updated successfully, but these errors were encountered: