Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Package failed to execute.
- ======== job_201609011308_0013 attempt_201609011308_0013_m_000000_0 stderr.summary ========
- 16/09/01 13:13:17 WARN tool.EvalSqlTool: SQL exception executing statement: org.postgresql.util.PSQLException: ERROR: Load into table 'xplenty_staging_3681' failed. Check 'stl_load_errors' system table for details.
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2270)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1998)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:570)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:420)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:413)
- at org.apache.sqoop.tool.EvalSqlTool.run(EvalSqlTool.java:68)
- at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
- at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
- at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
- at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
- at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
- at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
- Pig logfile dump:
- Pig Stack Trace
- ---------------
- ERROR 2997: Encountered IOException. java.io.IOException: sh command 'HADOOP_USER_NAME=u_1848 sqoop eval --connect "jdbc:postgresql://localhost:62854/bigcartel?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory" --username * --password * --query "START TRANSACTION;CREATE TEMPORARY TABLE \"xplenty_staging_3681\" AS SELECT \"id\",\"account_id\",\"product_id\",\"position\",\"imgsize\",\"width\",\"height\",\"filename\",\"content_type\",\"uploaded\",\"created_at\",\"updated_at\",\"disabled_at\" FROM \"bigcartel\".\"product_images\" WHERE 0=1;COPY \"xplenty_staging_3681\" (\"id\", \"account_id\", \"product_id\", \"position\", \"imgsize\", \"width\", \"height\", \"filename\", \"content_type\", \"uploaded\", \"created_at\", \"updated_at\", \"disabled_at\") FROM 's3://us-west-2.xplenty.redshift/accounts/1848/tmp/job-2917099-redshift_product_images-0G4l2D6d93xOdQ' CREDENTIALS 'aws_access_key_id=*;aws_secret_access_key=*' DELIMITER '|' ESCAPE MAXERROR AS 1 ACCEPTANYDATE DATEFORMAT AS 'auto' TIMEFORMAT AS 'auto' NULL AS '\\\\N' COMPROWS 100000;DELETE FROM \"bigcartel\".\"product_images\" USING \"xplenty_staging_3681\" WHERE \"bigcartel\".\"product_images\".\"id\" = \"xplenty_staging_3681\".\"id\";INSERT INTO \"bigcartel\".\"product_images\"(\"id\",\"account_id\",\"product_id\",\"position\",\"imgsize\",\"width\",\"height\",\"filename\",\"content_type\",\"uploaded\",\"created_at\",\"updated_at\",\"disabled_at\") SELECT \"id\",\"account_id\",\"product_id\",\"position\",\"imgsize\",\"width\",\"height\",\"filename\",\"content_type\",\"uploaded\",\"created_at\",\"updated_at\",\"disabled_at\" FROM \"xplenty_staging_3681\";COMMIT;"' failed. Please check output logs for details
- java.io.IOException: java.io.IOException: sh command 'HADOOP_USER_NAME=u_1848 sqoop eval --connect "jdbc:postgresql://localhost:62854/bigcartel?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory" --username * --password * --query "START TRANSACTION;CREATE TEMPORARY TABLE \"xplenty_staging_3681\" AS SELECT \"id\",\"account_id\",\"product_id\",\"position\",\"imgsize\",\"width\",\"height\",\"filename\",\"content_type\",\"uploaded\",\"created_at\",\"updated_at\",\"disabled_at\" FROM \"bigcartel\".\"product_images\" WHERE 0=1;COPY \"xplenty_staging_3681\" (\"id\", \"account_id\", \"product_id\", \"position\", \"imgsize\", \"width\", \"height\", \"filename\", \"content_type\", \"uploaded\", \"created_at\", \"updated_at\", \"disabled_at\") FROM 's3://us-west-2.xplenty.redshift/accounts/1848/tmp/job-2917099-redshift_product_images-0G4l2D6d93xOdQ' CREDENTIALS 'aws_access_key_id=*;aws_secret_access_key=*' DELIMITER '|' ESCAPE MAXERROR AS 1 ACCEPTANYDATE DATEFORMAT AS 'auto' TIMEFORMAT AS 'auto' NULL AS '\\\\N' COMPROWS 100000;DELETE FROM \"bigcartel\".\"product_images\" USING \"xplenty_staging_3681\" WHERE \"bigcartel\".\"product_images\".\"id\" = \"xplenty_staging_3681\".\"id\";INSERT INTO \"bigcartel\".\"product_images\"(\"id\",\"account_id\",\"product_id\",\"position\",\"imgsize\",\"width\",\"height\",\"filename\",\"content_type\",\"uploaded\",\"created_at\",\"updated_at\",\"disabled_at\") SELECT \"id\",\"account_id\",\"product_id\",\"position\",\"imgsize\",\"width\",\"height\",\"filename\",\"content_type\",\"uploaded\",\"created_at\",\"updated_at\",\"disabled_at\" FROM \"xplenty_staging_3681\";COMMIT;"' failed. Please check output logs for details
- at org.apache.pig.tools.grunt.GruntParser.processShCommand(GruntParser.java:1189)
- at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:183)
- at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:230)
- at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:205)
- at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:81)
- at org.apache.pig.Main.run(Main.java:495)
- at org.apache.pig.PigRunner.run(PigRunner.java:49)
- at org.apache.oozie.action.hadoop.PigMain.runPigJob(PigMain.java:283)
- at org.apache.oozie.action.hadoop.PigMain.run(PigMain.java:223)
- at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:37)
- at org.apache.oozie.action.hadoop.PigMain.main(PigMain.java:76)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:606)
- at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:491)
- at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
- at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:429)
- at org.apache.hadoop.mapred.MapTask.run(MapTask.java:365)
- at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
- at java.security.AccessController.doPrivileged(Native Method)
- at javax.security.auth.Subject.doAs(Subject.java:415)
- at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
- at org.apache.hadoop.mapred.Child.main(Child.java:249)
- Caused by: java.io.IOException: sh command 'HADOOP_USER_NAME=u_1848 sqoop eval --connect "jdbc:postgresql://localhost:62854/bigcartel?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory" --username * --password * --query "START TRANSACTION;CREATE TEMPORARY TABLE \"xplenty_staging_3681\" AS SELECT \"id\",\"account_id\",\"product_id\",\"position\",\"imgsize\",\"width\",\"height\",\"filename\",\"content_type\",\"uploaded\",\"created_at\",\"updated_at\",\"disabled_at\" FROM \"bigcartel\".\"product_images\" WHERE 0=1;COPY \"xplenty_staging_3681\" (\"id\", \"account_id\", \"product_id\", \"position\", \"imgsize\", \"width\", \"height\", \"filename\", \"content_type\", \"uploaded\", \"created_at\", \"updated_at\", \"disabled_at\") FROM 's3://us-west-2.xplenty.redshift/accounts/1848/tmp/job-2917099-redshift_product_images-0G4l2D6d93xOdQ' CREDENTIALS 'aws_access_key_id=*;aws_secret_access_key=*' DELIMITER '|' ESCAPE MAXERROR AS 1 ACCEPTANYDATE DATEFORMAT AS 'auto' TIMEFORMAT AS 'auto' NULL AS '\\\\N' COMPROWS 100000;DELETE FROM \"bigcartel\".\"product_images\" USING \"xplenty_staging_3681\" WHERE \"bigcartel\".\"product_images\".\"id\" = \"xplenty_staging_3681\".\"id\";INSERT INTO \"bigcartel\".\"product_images\"(\"id\",\"account_id\",\"product_id\",\"position\",\"imgsize\",\"width\",\"height\",\"filename\",\"content_type\",\"uploaded\",\"created_at\",\"updated_at\",\"disabled_at\") SELECT \"id\",\"account_id\",\"product_id\",\"position\",\"imgsize\",\"width\",\"height\",\"filename\",\"content_type\",\"uploaded\",\"created_at\",\"updated_at\",\"disabled_at\" FROM \"xplenty_staging_3681\";COMMIT;"' failed. Please check output logs for details
- at org.apache.pig.tools.grunt.GruntParser.processShCommand(GruntParser.java:1185)
- ... 23 more
- ================================================================================
- Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.PigMain], exit code [2]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement