| Hi Milan, 
 You probably just need to change the 'localhost' portion of you jar
    path with the appropriate namenode. You might be able to determine
    it with the following command, although I'm not sure if it will work
    exactly with hadoop 2.7:
 
 hdfs getconf -confkey 'fs.defaultFS'
 
 Make sure that the port is correct as well.
 
 Thanks,
 
 Emilio
 
 
 On 06/14/2016 10:23 AM, Milan Muňko
      wrote:
 
      
      Hello Emilio,
 Thank you for quick response.
 
 I am running following environment:
 
 Ubuntu Server 14.04
 java-7-openjdk-amd64
 accumulo 1.6.5
 hadoop 2.7.2
 zookeeper 3.4.8
 geomesa 1.2.2
 
 All is installed on one server
 
 I have installed accumulo, hadoop and zookeeper according to this
      tutorial:
 https://www.digitalocean.com/community/tutorials/how-to-install-the-big-data-friendly-apache-accumulo-nosql-database-on-ubuntu-14-04
 
 When I used ./hadoop fs -ls
'hdfs://localhost:54310/accumulo/classpath/geomesa/geomesa-accumulo-distributed-runtime-1.2.2.jar'
 I get following:
 ls: Call From geomesa/127.0.0.1 to localhost:54310 failed on
      connection exception: java.net.ConnectException: Connection
      refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
 
 I copied geomesa-accumulo-distributed-runtime-1.2.2.jar using
      ./hadoop fs -copyFromLocal
      geomesa-accumulo-distributed-runtime-1.2.2.jar
      /accumulo/classpath/geomesa
 
 Sorry, I am very new to accumulo, hadoop etc.
 
 thank you,
 Milan
 
 
 On 14.06.2016 15:39, Emilio
        Lahr-Vivaz wrote:
 
        
        Hi Milan,
 It seems like Accumulo can't find your jar in HDFS. What version
        of Accumulo are you running on? The namespace configurations are
        only available on 1.6 and later. Also, what is the namenode of
        your hdfs setup? It it set to localhost in your error. Does that
        path work using the 'hadoop' command? e.g. hadoop fs -ls '
        hdfs://localhost:54310/accumulo/classpath/geomesa/geomesa-accumulo-distributed-runtime-1.2.2.jar'.
        Also, ensure that the jar is actually there in HDFS.
 
 Let us know if none of that works.
 
 Thanks,
 
 Emilio
 
 
 On 06/14/2016 08:42 AM, Milan Muňko
          wrote:
 
          
          Dear sir / madam,
 We would like to evaluate geomesa as one of the most promising
          technologies in our company. I have a problem with right
          setup.
 
 When I installed geomesa bin according to http://www.geomesa.org/documentation/user/installation_and_configuration.html
 
 When I run Ingesting data example, I get this error message in
          Accumulo:
 
 could not determine file type
hdfs://localhost:54310/accumulo/classpath/geomesa/geomesa-accumulo-distributed-runtime-1.2.2.jar
 
 I get the same error also when I run Accumulo quick start.
 
 I would also like to ask, how should I set up GeoTools for
          Geoserver, What modules from geotools are needed for geoserver
          in order to be able to use geomesa datastore ?
 
 Thank you,
 
 Milan
 
 
 
 
 _______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geomesa-users 
 
 
 _______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geomesa-users 
 
 
 _______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.locationtech.org/mailman/listinfo/geomesa-users 
 |