Hello,
I have a problem with the "File_Hadoop_Csv_Output-adapter".
Every time I try to start the output adapter in the ESP Run Test I got the following error messsage:
ConnectionWriter(Sensordata) error writing to Connection(File_Hadoop_CSV_Output1): 2015-06-02 11:16:50 The execution command ""C:\Sybase\ESP-5_1/adapters/framework/bin/start.bat" "C:\Sybase\ESP-5_1/adapters/framework/instances/file_csv_output/adapter_config.xml" "-DEspToCsvStringFormatterParameters.Delimiter=" "-DEspToCsvStringFormatterParameters.SecondDateFormat=" "-DEspToCsvStringFormatterParameters.MsDateFormat=" "-DEspToCsvStringFormatterParameters.TimeFormat=" "-DEspToCsvStringFormatterParameters.BigdatetimeFormat=" "-DEspToCsvStringFormatterParameters.HasHeader=" "-DEspToCsvStringFormatterParameters.PrependStreamNameOpcode=" "-DFileOutputTransporterParameters.Dir=hdfs://54.243.87.200:9000/home/ec2-user" "-DFileOutputTransporterParameters.File=StreamingdataHANA.csv" "-DFileOutputTransporterParameters.AppendMode=" "-DFileOutputTransporterParameters.FileSizeLimit=" "-DFileOutputTransporterParameters.TimeBasedRotate=" "-DFileOutputTransporterParameters.TimeBasedRotateInterval=" "-DFileOutputTransporterParameters.TimeBasedRotateStartAt=" "-DFileOutputTransporterParameters.TimestampInFilenames=" "-DFileOutputTransporterParameters.TimestampInFilenamesFormat=" "-DFileOutputTransporterParameters.BatchSize=1" "-DFileOutputTransporterParameters.BatchPeriod=0" "-DEspSubscriberParameters.OutputBase=false" "-DEspSubscriberParameters.OnlyBase=false" "-DEspSubscriberParameters.EnableGdMode=" "-DEspSubscriberParameters.EnableGdCache=" "-DEspSubscriberParameters.GdSubscriberName="" returned code: 255. 0 records posted, 0 processed, 0 bad, 0 good.
Now to my configuration:
I got a local installation of ESP and in my ESP data flow I have a "Generic_DB_input-adapter" to get datasets from HANA and write them into a Stream and then I have the "File_Hadoop_Csv_Output-adapter". At direction for this output adapter I use <Server-ip-address>:9000/<Folder>/<Subfolder>.
I also added an csv-file at this location with all permissions (777). The name of this csv-file I use for the file parameter at the output adapter.
The hadoop version I used is hadoop 2.5.1. I added the binaries for this version like here is explained:
Hadoop - SAP Event Stream Processor - SCN Wiki
Therefore I added the same jar-files like in the link is explained for version 2.2.0.
Are there any other jar-files I have to add to my esp installation or did I anything else wrong?
Thanks in advance.
Best Regards
Stefan