Quantcast
Channel: DataStax Support Forums » Recent Topics
Viewing all articles
Browse latest Browse all 387

Lauro on "Error when importing from Postgresql to Cassandra using Sqoop."

$
0
0

I am following the documentation and I used the following command to import a small table from postgresql to cassandra:

./dse sqoop import --connect jdbc:postgresql://127.0.0.1/mydb --username *** --password *** --table test --cassandra-keyspace test --cassandra-column-family test1 --cassandra-row-key arithmos --cassandra-thrift-host 127.0.0.1

I get the following error:

ERROR security.UserGroupInformation: PriviledgedActionException as:root cause:org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.mapred.SafeModeException: JobTracker is in safe mode

I start cassandra with the -t option that starts the JobTracker and TaskTracker processes.
How can I not run JobTracker in safe mode?

Thanks in advance,
Lauro Sekli


Viewing all articles
Browse latest Browse all 387

Trending Articles