I am trying to run the command line tutorial for Cassandra and am running into an error. This is what I ran.
bin/geomesa-cassandra ingest --contact-point localhost --key-space mykeyspace --catalog mycatalog --converter example-csv --spec example-csv examples/ingest/csv/example.csv
This is what I get in return.
What would cause this?
You need to specify the contact point as host:port. See the documentation for the connection parameters. I opened a ticket to improve the error handling for an incorrectly formatted contact point, so that the error will be more obvious.
Thanks,
Related
I am in Eclipse with java in Macbook trying to create my first commit in Git but I am receiving an error, I followed all the instructions how to do it but I can't, I am attaching the error message, thank you for your help
The error message states "authentication failed".
You are probably providing wrong credentials. Seems like you are trying to push a commit using a user named "git", which is probably invalid.
Enter the correct credentials and try again.
Good luck!
I am facing a peculiar issue while trying to SFTP a file from Windows to Unix server. The error "stack trace" is -
4: Failure
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2846)
at com.jcraft.jsch.ChannelSftp.checkStatus(ChannelSftp.java:2459)
at com.jcraft.jsch.ChannelSftp._sendCLOSE(ChannelSftp.java:2465)
at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:683)
at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:475)
at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:365)
I have searched a lot on other forums but could not get to the root cause. I have observed one more thing - the file name, I am trying to SFTP, is *.xml when I change it to *.XML the SFTP is "successful". Very weird could not identify the issue. I am trying this using JSch Java API. But I have seen the same issue while trying the WinSCP front end.
It is common for OpenSSH SFTP server to return code 4 (Failure) for many different reasons, without giving any details.
You would have to check SFTP server log to find more.
Though the most usual cause is a lack of free disk or user quota space – Which can usually be identified by the file being created with zero size.
i was facing the same issue. was puzzled then i realized there was a space issue on the server folder. Please do check the server available space.
command: df path to the folder
I was facing the same issue. Please make sure that your SFTP service is running. And If it is already running then restarting this service should do the trick.
I had the same issue. Tried everything, turns out I had set the timeout to what I thought was 30s but it was actually 30ms. Changing it to 30000ms solved the issue.
session.setTimeout(30000);
I've seen this error and the cause in my case was, the uploaded file names weren't supported by the file system used by the SFTP server.
I've created a neo4j database embedded into my java application. Creating nodes, relationships, properties and querying all of them looks fine, but now I want to visualize the database just to check if everything is okay. So I tried to load the test.db inside my neo4j-Server edition (running on the same machine), but however I get all the time the following error:
Starting Neo4j Server failed: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, C:\Users\user\workspace\neo4j_emb_test\target\test.db
Don't know what's going wrong here. Does anybody has suggestions?
Thanks in advance !
Julian
edit:
Checking the logs returned following results:
2014-05-26 14:56:30.988+0000 ERROR [o.n.k.EmbeddedGraphDatabase]: Startup failed: Component 'org.neo4j.kernel.impl.transaction.XaDataSourceManager#7f180826' was successfully initialized, but failed to start. Please see attached cause exception.: Component 'org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource#71fc9ad0' was successfully initialized, but failed to start. Please see attached cause exception.: 'neostore' has a store version number that we cannot upgrade from. Expected 'NeoStore v0.A.0' but file is version 'NeoStore v0.A.3'.
2014-05-26 14:56:30.988+0000 INFO [o.n.k.EmbeddedGraphDatabase]: Shutdown started
You cannot run two embedded instances against the same Neo4j database at the same time, you need to run Neo4j in stand-alone mode for that. Then you only have access to the REST API provided, and not the Java API.
I had the exact same experience a little while ago that was answered here: Disable locking of Neo4j graph database?
Really odd issue here, it was working a few days ago. I create a new database for a new project and I go to run it and I get the following error
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database
So I went back to my older projects and tried to run them. Same error.
The database is definitely there, it's named correctly, i'm using user "root". MySQL is started, I can interact with it in terminal... any particular reason I may be getting this error?
Connection c = DriverManager.getConnection("jdbc:mysql://localhost/twittermap","root","");
In terminal:
select CURRENT_USER()
will return root#localhost
SELECT DATABASE() FROM DUAL;
returns twittermap
show variables like 'port';
returns 3306
If any more information is required please let me know and I will post it immediately. This is most likely a simple fix but I just can't wrap my head around it. Thanks all, really appreciate the help!
EDIT: I ran netstat -tnl and 127.0.0.1:3306 is NOT listed.. ?
Just write like this:
Connection c = DriverManager.getConnection("jdbc:mysql://localhost:3306/twittermap","root","");
I'm using Netbeans and I've checked the Server.log and all 3 output tabs in Netbeans for Glassfish, Java DB Database and my app's output. Where should I be seeing the output of System.out.println() ? I'm trying to connect to a MySQL server and I need to see if it worked or not :)
Turns out that I need to run the app in debug mode to see the output of System.out.println() in the glassfish console
check in build\testuserdir\var\log\messages.log
for more info checkout the following link
http://wiki.netbeans.org/NetBeansDeveloperFAQ#Output_Window