I solved the problem by overwriting the method "configure". There, I
used the "addResource" method of the HBaseConfiguration to add the
correct hbase-site.xml
Best Regards,
Hilmi
Am 28.05.2015 um 11:21 schrieb Hilmi Yildirim:
When I execute both job locally then the result of both methods is t
When I execute both job locally then the result of both methods is the
same. But when I execute the job on the cluster then the first method
returns a path to the hbase-site.xml but the second method returns null.
Best Regards,
Hilmi
Am 28.05.2015 um 10:51 schrieb Stephan Ewen:
I am not an HBa
I am not an HBase expert. How does HBase find the hbase-site.xml? Does it
simply search through the classpath?
If it uses the classpath, can you see what hbase-site.xml is used?
- In your user code, you can do a
getClass().getClassloader().gerResource("hbase-site.xml") and see where it
is?
- C
Hi,
I used release-0.8.1for Hadoop 2 to read from HBase. For that I placed
my hbase-site.xml with the correct configurations into the resource
folder. When I start the job locally then the job uses the config inside
the hbase-site.xml and it works great. When I want to run the job on a
cluster