gs-loader caused an error
After I installed and configured stado, gs-loader caused following error.
It seems that Stado does not import ../lib/
could not connect Underlying Database.
Do you have any ideas why gs-loader caused an error ?
./gs-loader.sh -d dbname -u admin -p secret -f '|' -i tablename.file -t tablename
SQLException: ERROR: java.lang.
Environment
-OS CentOS 6.2
-nstalled JDK 1.6, PostgreSQL 9.2 and Stado2.5
-copied postgresql-
(postgresql-
More Informations
-psql COPY command to Agent Node works normally.
cat tablefilename.file | psql -h dbhost -p 5432 -d __dbname__N2 -U stado -a -e -E -c "COPY tablename FROM STDIN DELIMITERS '|'"
-gs-cmdline works normally.
Stado-> INSERT INTO databasename VALUES( ...);
-JAVA Program without Stado (imported only postgresql-
Class.
con = DriverManager.
CopyManager cm = new CopyManager(
fw = new FileWriter(
cm.copyIn("COPY tablename FROM STDIN DELIMITERS '|'", fw);
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Stado Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alvin Peng
- Solved:
- Last query:
- Last reply: