سؤال

java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.mapreduce.TableOutputFormat

I cannot put the hbase jar files to Hadoop lib directory, because I am not allowed to change such configurations on the given cluster.

What other alternatives can you offer?

هل كانت مفيدة؟

المحلول 2

This was my question.

I fixed this using libjars option with Hadoop.

export libpath=/path to hbase jar
hadoop jar myjarname.jar <classpath> arguments -libjar ${libpath}

نصائح أخرى

Jar containing org.apache.hadoop.hbase.mapreduce.TableOutputFormat is missing
download jar and set your classpath

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top