Druid: Error: com.google.inject.util.Types.collectionOf(Ljava/lang/reflect/Type;)Ljava/lang/reflect/ParameterizedType;

Created on 18 May 2017  路  5Comments  路  Source: apache/druid

Hi,

I am trying to use druid to analyze parquet data . I think I have done all the necessary steps . Here are the steps I took:

  1. Created json metadata file for source . Attached file here named parquet_metadata.txt , renamed it to .txt , originally it is .json.

If you see in file I have used , as suggested , "mapreduce.job.classloader": "true"
parquet_metadata.txt

  1. Since I am running my hadoop on cloudera 5.9.0 , I downloaded dependencies using pull-deps :
    java -classpath "/home/druid/druid-0.10.0/lib/*" io.druid.cli.Main tools pull-deps -r https://repository.cloudera.com/content/repositories/releases/ -h org.apache.hadoop:hadoop-client:2.6.0-mr1-cdh5.9.0

  2. However when I run druid job am getting this error :
    Error: com.google.inject.util.Types.collectionOf(Ljava/lang/reflect/Type;)Ljava/lang/reflect/ParameterizedType;

I have also attached full druid log .
druid_log.txt

Please let me know if I have missed anything .

-Rahul

stale

Most helpful comment

Are you sure you Hadoop version accepts "mapreduce.job.classloader": "true", you can try this one instead mapreduce.job.user.classpath.first = true

All 5 comments

@rahulsingh303 Did you figure out what was the issue? I'm facing same problem. :I

@rahulsingh303 Struggling here as well. What was the issue?

Are you sure you Hadoop version accepts "mapreduce.job.classloader": "true", you can try this one instead mapreduce.job.user.classpath.first = true

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

Was this page helpful?
0 / 5 - 0 ratings