PDA

View Full Version : authentication issues with MongoDB output



yuyongfa
12-20-2012, 12:49 AM
Hey all,
I am using MongoDB output. When I choose to preview the transformation, I am able to retrieve the data without any problems. However, when I choose to run the transformation, I am getting an error.


2012/12/20 12:39:17 - MongoDb Output.0 - Running on slave server #0/1.
2012/12/20 12:39:17 - MongoDb Output.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : A problem occurred while trying to connect to 127.0.0.1 on port 27017
2012/12/20 12:39:17 - MongoDb Output.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : java.lang.NullPointerException
2012/12/20 12:39:17 - MongoDb Output.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : at org.pentaho.di.trans.steps.mongodboutput.MongoDbOutput.init(MongoDbOutput.java:326)
2012/12/20 12:39:17 - MongoDb Output.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:62)
2012/12/20 12:39:17 - MongoDb Output.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : at java.lang.Thread.run(Thread.java:662)
2012/12/20 12:39:17 - MongoDb Output.0 - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : 错误初始化步骤[MongoDb Output]
2012/12/20 12:39:17 - populate_mongodb_page_successions - 步骤 [Text file input.0] 初始化不完全,有缺陷
2012/12/20 12:39:17 - populate_mongodb_page_successions - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : 步骤 [MongoDb Output.0] 初始化失败!
2012/12/20 12:39:17 - Spoon - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : populate_mongodb_page_successions: preparing transformation execution failed
2012/12/20 12:39:17 - Spoon - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : org.pentaho.di.core.exception.KettleException:
2012/12/20 12:39:17 - Spoon - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : 无法初始化至少一个步骤. 执行无法开始!
2012/12/20 12:39:17 - Spoon - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) :
2012/12/20 12:39:17 - Spoon - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) :
2012/12/20 12:39:17 - Spoon - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:823)
2012/12/20 12:39:17 - Spoon - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : at org.pentaho.di.ui.spoon.trans.TransGraph$22.run(TransGraph.java:3659)
2012/12/20 12:39:17 - Spoon - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : at java.lang.Thread.run(Thread.java:662)
2012/12/20 12:39:17 - populate_mongodb_page_successions - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : 错误被检测到!
2012/12/20 12:39:17 - populate_mongodb_page_successions - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : 错误被检测到!

Mark
02-21-2013, 07:48 PM
Hi,

Did you specify a database and collection to write to? Your error could be related to this issue:

http://jira.pentaho.com/browse/PDI-9348

Cheers,
Mark.