Github user Evaneaston commented on the pull request:

    
https://github.com/apache/zeppelin/commit/fbb35f92ada1361148c63ad42bf6a5a231328b1a#commitcomment-27082601
  
    So after pulling this in, I'm having trouble getting zeppelin to start.  
I've got an AWS EMR cluster that I've installed a build of 0.8.0-SNAPSHOT onto. 
 Upon start up, it's failing to load the zeppelin directory conf which I still 
have sitting in the local filesystem.  Error is below:
    
    ```
    Caused by: java.lang.IllegalArgumentException: Wrong FS: 
file:/usr/lib/zeppelin/conf, expected: hdfs://ip-10-192-33-190.ec2.internal:8020
            at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:649)
            at 
org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:194)
            at 
org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:106)
            at 
org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1305)
            at 
org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1301)
            at 
org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
            at 
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1317)
            at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1426)
            at 
org.apache.zeppelin.notebook.FileSystemStorage$2.call(FileSystemStorage.java:93)
            at 
org.apache.zeppelin.notebook.FileSystemStorage$2.call(FileSystemStorage.java:90)
            at 
org.apache.zeppelin.notebook.FileSystemStorage.callHdfsOperation(FileSystemStorage.java:175)
            at 
org.apache.zeppelin.notebook.FileSystemStorage.tryMkDir(FileSystemStorage.java:90)
            at 
org.apache.zeppelin.storage.FileSystemConfigStorage.<init>(FileSystemConfigStorage.java:53)
            ... 46 more
    ```
    
    My zeppelin-env.sh contains:
    
    ```
    export ZEPPELIN_CONF_DIR=/etc/zeppelin/conf
    ...
    export HADOOP_CONF_DIR=/etc/hadoop/conf
    ```
    I can only get zeppelin to start by commenting out zeppelin-daemon.sh code 
that adds HADOOP_CONF_DIR to the classpath.  But that's clearly not a great 
solution. 


---

Reply via email to