Adding Files view on Ambari 1.7.0: ClassNotFoundException -


i'm trying add views on ambari 1.7.0.

for files view available here: https://github.com/apache/ambari/tree/trunk/contrib/views/files

i error after trying launch instance of view:

500 hdfsapi connection failed. check "webhdfs.url" property

with following stack trace (just first lines):

java.lang.runtimeexception: java.lang.classnotfoundexception: class org.apache.hadoop.hdfs.web.webhdfsfilesystem not found @ org.apache.hadoop.conf.configuration.getclass(configuration.java:1720) @ org.apache.hadoop.fs.filesystem.getfilesystemclass(filesystem.java:2415) @ org.apache.hadoop.fs.filesystem.createfilesystem(filesystem.java:2428) @ org.apache.hadoop.fs.filesystem.access$200(filesystem.java:88) @ org.apache.hadoop.fs.filesystem$cache.getinternal(filesystem.java:2467) 

i add following property during configuration of view:

webhdfs.url webhdfs://mycluster1:50070

i'm not sure perhaps it's issue during building part version conflict, i'm working on that.

any ideas?

what value have used webhdfs url in file view instance ?

is cluster namenode ha enabled ? if yes , try use url webhdfs://:50070 if not ha enabled use webhdfs://:50070

if none works use direct data node dfs address webhdfs://:50070


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -