[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [geomesa-users] GeoMesa Accumulo DataStore null | 
NVM everything is working now, thanks for all the help!
Ok sweet, so including the geomesa-accumulo-datastore and accumulo-core in my pom fixes that issue (and an Accumulo security one).
 The next issue is a thrift client problem, it says 
Failed to open transport client to geomesa:9997 
From googling the only thing I could find was making sure nothing was running on localhost (which I didn't see), however the listen on 9997 was for 0.0.0.0, and not the fqdn of the server... So not exactly sure what's up there.
  
    
  
  
    Yes, generally that means that the AccumuloDataStore is not on the
    classpath. You can also try invoking the AccumuloDataStoreFactory
    directly, which may make it more obvious what is wrong:
    
    import
    org.locationtech.geomesa.accumulo.data.AccumuloDataStoreFactory;
    
    AccumuloDataStoreFactory factory = new AccumuloDataStoreFactory();
    DataStore store = factory.createDataStore(params);
    
    Thanks,
    
    Emilio
    
    
On 05/14/2018 02:00 PM, David Boyd
      wrote:
    
    
      
      Andrew:
         I have seen this before.  I was building a shaded jar and
        the resources used by the 
        DataStoreFinder did not have the information for  geomesa.
        Basically, you need to modify your Maven build (pom.xml)  to
        specify that the resources get included.   Attached is the
        pom.xml I used for my shaded jar that fixed the problem.
        I used the Maven shade plugin whose configurate is around line
        427.
      At least I think that was the fix to my problem it has been
        awhile since I solved that specific problem.
      
      
      On 5/14/18 1:24 PM, Andrew Schenck
        wrote:
      
      
        
        
          
            
              
                Hello,
                  
                  
                  I have setup and installed Accumulo
                    and GeoMesa-accumulo according to the install docs.
                  
                  
                  I have then attempted the "8.3. using
                    the Accumulo DataStore programmatically" to have a
                    featureSource that I will be able to eventually be
                    able to perform a .get features on with some
                    bounding box and name filtering applied to return a
                    list of features.
                  
                  
                  However I hit a big issue right away.
                    When I try to access the data store via the 8.3
                    guide 
                  
                  
                  DataStoreFinder.getDataStore(params)
                    it returns null Everytime. 
                  
                  
                  I provide the following:
                  
                  
                  
                  Accumulo.zookeepers
                  Accumulo.user
                  Accumulo.password
                  Accumulo.catalog
                  
                  
                  The only error I get is DataStore is a
                    nullpointerexception when I try
                    dataStore.getTypeNames()[0]
                  
                  
                  If I debug it my DataStore is simply
                    null, and I am not sure why.
                  
                  
                  I ingested the geonames data via
                    17.10.3.x following the command line ingest guide.
                  
                  
                  Any ideas?
                  
                  
                  Really appreciate it.
                  
                  
                  Andy
                 
             
           
         
        
        
        
        _______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users
      
      
      -- 
========= mailto:dboyd@xxxxxxxxxxxxxxxxx ============
David W. Boyd                     
VP,  Data Solutions       
10432 Balls Ford, Suite 240  
Manassas, VA 20109         
office:   +1-703-552-2862        
cell:     +1-703-402-7908
============== http://www.incadencecorp.com/ ============
ISO/IEC JTC1 WG9, editor ISO/IEC 20547 Big Data Reference Architecture
Chair ANSI/INCITS TC Big Data
Co-chair NIST Big Data Public Working Group Reference Architecture
First Robotic Mentor - FRC, FTC - www.iliterobotics.org
Board Member- USSTEM Foundation - www.usstem.org
The information contained in this message may be privileged 
and/or confidential and protected from disclosure.  
If the reader of this message is not the intended recipient 
or an employee or agent responsible for delivering this message 
to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication 
is strictly prohibited.  If you have received this communication 
in error, please notify the sender immediately by replying to 
this message and deleting the material from any computer.
 
      
      
      
      _______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.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://dev.locationtech.org/mailman/listinfo/geomesa-users