aerospike / aerospike-loader

Aerospike Data Loader
42 stars 37 forks source link

Unable to install it on CentOS 7 #7

Closed WorldWeatherOnline closed 5 years ago

WorldWeatherOnline commented 7 years ago

Unable to install on CentOS7. It fails at the TESTS.

Please someone could help. Thanks.

[INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Aerospike Loader 1.2.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ aerospike-load --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ aerospike-load --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ aerospike-load --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 14 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ aerospike-load --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ aerospike-load --- [INFO] Surefire report directory: /aerospike-loader/target/surefire-reports


T E S T S

Running com.aerospike.load.CsvFileParserTest TestValidateTimestampInteger: start INFO AerospikeLoad :99 - Aerospike loader started INFO AerospikeLoad :199 - Number of data files:1 INFO Parser :165 - Number of columns: 2(metadata) + 1(bins) INFO AerospikeLoad :210 - Config file processed. INFO AerospikeLoad :406 - Parameters:[ host=127.0.0.1, port=3000, ns=test, set=null, ttl=-1, timeout=0, write-action=UPDATE, fileType=csv, delimiter=,, timeZoneOffset=0, ignoreFirstLine=true, abortErrorCount=0] INFO AerospikeLoad :415 - Reader pool size : 12 INFO PrintStat :85 - 2017-02-26 18:07:35 load(Write count=0 tps=0 Errors=0 (Timeout:0 KeyExists:0 othersWrites:0 ReadErrors:0 Processing:0) Progress:0% INFO AerospikeLoad :541 - Processing: data.csv INFO AerospikeLoad :425 - Shutdown down reader thread pool INFO AerospikeLoad :536 - Reader completed 11-lines in 0.002sec, From file: data.csv INFO AerospikeLoad :429 - Reader thread pool terminated INFO AerospikeLoad :433 - Shutdown down writer thread pool ERROR AsWriterTask :125 - File:data.csv Line:6Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:9Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:3Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:7Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:10Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:5Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:2Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:4Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:8Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:11Aerospike Write Error:20 INFO AerospikeLoad :436 - Writer thread pool terminated INFO AerospikeLoad :439 - Final Statistics of importer: (Succesfull Writes = 0, Errors=10(10-Write,0-Read,0-Processing) INFO AerospikeLoad :451 - Aerospike loader completed com.aerospike.client.AerospikeException: Error Code 20: Namespace not found at com.aerospike.client.command.ReadCommand.parseResult(ReadCommand.java:121) at com.aerospike.client.command.SyncCommand.execute(SyncCommand.java:56) at com.aerospike.client.AerospikeClient.get(AerospikeClient.java:496) at com.aerospike.load.CsvFileParserTest.validateMap(CsvFileParserTest.java:481) at com.aerospike.load.CsvFileParserTest.testValidateTimestampInteger(CsvFileParserTest.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Test static BinName: start INFO AerospikeLoad :99 - Aerospike loader started INFO AerospikeLoad :199 - Number of data files:1 INFO Parser :165 - Number of columns: 2(metadata) + 1(bins) INFO AerospikeLoad :210 - Config file processed. INFO AerospikeLoad :406 - Parameters:[ host=127.0.0.1, port=3000, ns=test, set=null, ttl=-1, timeout=0, write-action=UPDATE, fileType=csv, delimiter=,, timeZoneOffset=0, ignoreFirstLine=true, abortErrorCount=0] INFO AerospikeLoad :415 - Reader pool size : 12 INFO PrintStat :85 - 2017-02-26 18:07:35 load(Write count=0 tps=10 Errors=10 (Timeout:0 KeyExists:0 othersWrites:10 ReadErrors:0 Processing:0) Progress:55% INFO AerospikeLoad :541 - Processing: staticBinData.csv INFO AerospikeLoad :425 - Shutdown down reader thread pool ERROR AsWriterTask :125 - File:staticBinData.csv Line:2Aerospike Write Error:20 ERROR AsWriterTask :125 - File:staticBinData.csv Line:3Aerospike Write Error:20 INFO AerospikeLoad :536 - Reader completed 4-lines in 0.001sec, From file: staticBinData.csv ERROR AsWriterTask :125 - File:staticBinData.csv Line:4Aerospike Write Error:20 INFO AerospikeLoad :429 - Reader thread pool terminated INFO AerospikeLoad :433 - Shutdown down writer thread pool INFO AerospikeLoad :436 - Writer thread pool terminated INFO AerospikeLoad :439 - Final Statistics of importer: (Succesfull Writes = 0, Errors=13(13-Write,0-Read,0-Processing) INFO AerospikeLoad :451 - Aerospike loader completed TestValidateString: start INFO AerospikeLoad :99 - Aerospike loader started INFO AerospikeLoad :199 - Number of data files:1 INFO Parser :165 - Number of columns: 2(metadata) + 1(bins) INFO AerospikeLoad :210 - Config file processed. INFO AerospikeLoad :406 - Parameters:[ host=127.0.0.1, port=3000, ns=test, set=null, ttl=-1, timeout=0, write-action=UPDATE, fileType=csv, delimiter=,, timeZoneOffset=0, ignoreFirstLine=true, abortErrorCount=0] INFO AerospikeLoad :415 - Reader pool size : 12 INFO PrintStat :85 - 2017-02-26 18:07:35 load(Write count=0 tps=13 Errors=13 (Timeout:0 KeyExists:0 othersWrites:13 ReadErrors:0 Processing:0) Progress:62% INFO AerospikeLoad :541 - Processing: data.csv INFO AerospikeLoad :425 - Shutdown down reader thread pool ERROR AsWriterTask :125 - File:data.csv Line:2Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:4Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:3Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:9Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:8Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:7Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:6Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:5Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:10Aerospike Write Error:20 INFO AerospikeLoad :536 - Reader completed 11-lines in 0.001sec, From file: data.csv ERROR AsWriterTask :125 - File:data.csv Line:11Aerospike Write Error:20 INFO AerospikeLoad :429 - Reader thread pool terminated INFO AerospikeLoad :433 - Shutdown down writer thread pool INFO AerospikeLoad :436 - Writer thread pool terminated INFO AerospikeLoad :439 - Final Statistics of importer: (Succesfull Writes = 0, Errors=23(23-Write,0-Read,0-Processing) INFO AerospikeLoad :451 - Aerospike loader completed com.aerospike.client.AerospikeException: Error Code 20: Namespace not found at com.aerospike.client.command.ReadCommand.parseResult(ReadCommand.java:121) at com.aerospike.client.command.SyncCommand.execute(SyncCommand.java:56) at com.aerospike.client.AerospikeClient.get(AerospikeClient.java:496) at com.aerospike.load.CsvFileParserTest.validateMap(CsvFileParserTest.java:481) at com.aerospike.load.CsvFileParserTest.testValidateString(CsvFileParserTest.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) TestValidateStringUtf8: start INFO AerospikeLoad :99 - Aerospike loader started INFO AerospikeLoad :199 - Number of data files:1 INFO Parser :165 - Number of columns: 2(metadata) + 1(bins) INFO AerospikeLoad :210 - Config file processed. INFO AerospikeLoad :406 - Parameters:[ host=127.0.0.1, port=3000, ns=test, set=null, ttl=-1, timeout=0, write-action=UPDATE, fileType=csv, delimiter=,, timeZoneOffset=0, ignoreFirstLine=true, abortErrorCount=0] INFO PrintStat :85 - 2017-02-26 18:07:35 load(Write count=0 tps=23 Errors=23 (Timeout:0 KeyExists:0 othersWrites:23 ReadErrors:0 Processing:0) Progress:69% INFO AerospikeLoad :415 - Reader pool size : 12 INFO AerospikeLoad :425 - Shutdown down reader thread pool INFO AerospikeLoad :541 - Processing: data.csv ERROR AsWriterTask :125 - File:data.csv Line:4Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:5Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:7Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:2Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:3Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:11Aerospike Write Error:20 INFO AerospikeLoad :536 - Reader completed 11-lines in 0.004sec, From file: data.csv ERROR AsWriterTask :125 - File:data.csv Line:10Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:9Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:8Aerospike Write Error:20 INFO AerospikeLoad :429 - Reader thread pool terminated INFO AerospikeLoad :433 - Shutdown down writer thread pool ERROR AsWriterTask :125 - File:data.csv Line:6Aerospike Write Error:20 INFO AerospikeLoad :436 - Writer thread pool terminated INFO AerospikeLoad :439 - Final Statistics of importer: (Succesfull Writes = 0, Errors=33(33-Write,0-Read,0-Processing) INFO AerospikeLoad :451 - Aerospike loader completed com.aerospike.client.AerospikeException: Error Code 20: Namespace not found at com.aerospike.client.command.ReadCommand.parseResult(ReadCommand.java:121) at com.aerospike.client.command.SyncCommand.execute(SyncCommand.java:56) at com.aerospike.client.AerospikeClient.get(AerospikeClient.java:496) at com.aerospike.load.CsvFileParserTest.validateMap(CsvFileParserTest.java:481) at com.aerospike.load.CsvFileParserTest.testValidateStringUtf8(CsvFileParserTest.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Test Dynamic BinName: start INFO AerospikeLoad :99 - Aerospike loader started INFO AerospikeLoad :199 - Number of data files:1 INFO Parser :165 - Number of columns: 2(metadata) + 2(bins) INFO AerospikeLoad :210 - Config file processed. INFO AerospikeLoad :406 - Parameters:[ host=127.0.0.1, port=3000, ns=test, set=null, ttl=-1, timeout=0, write-action=UPDATE, fileType=csv, delimiter=,, timeZoneOffset=0, ignoreFirstLine=true, abortErrorCount=0] INFO AerospikeLoad :415 - Reader pool size : 12 INFO PrintStat :85 - 2017-02-26 18:07:35 load(Write count=0 tps=33 Errors=33 (Timeout:0 KeyExists:0 othersWrites:33 ReadErrors:0 Processing:0) Progress:68% INFO AerospikeLoad :425 - Shutdown down reader thread pool INFO AerospikeLoad :541 - Processing: dynamicBinData.csv INFO AerospikeLoad :536 - Reader completed 4-lines in 0.000sec, From file: dynamicBinData.csv INFO AerospikeLoad :429 - Reader thread pool terminated INFO AerospikeLoad :433 - Shutdown down writer thread pool ERROR AsWriterTask :125 - File:dynamicBinData.csv Line:3Aerospike Write Error:20 ERROR AsWriterTask :125 - File:dynamicBinData.csv Line:2Aerospike Write Error:20 ERROR AsWriterTask :125 - File:dynamicBinData.csv Line:4Aerospike Write Error:20 INFO AerospikeLoad :436 - Writer thread pool terminated INFO AerospikeLoad :439 - Final Statistics of importer: (Succesfull Writes = 0, Errors=36(36-Write,0-Read,0-Processing) INFO AerospikeLoad :451 - Aerospike loader completed TestAllDatatype: start INFO AerospikeLoad :99 - Aerospike loader started INFO AerospikeLoad :199 - Number of data files:1 INFO Parser :165 - Number of columns: 2(metadata) + 4(bins) INFO AerospikeLoad :210 - Config file processed. INFO AerospikeLoad :406 - Parameters:[ host=127.0.0.1, port=3000, ns=test, set=null, ttl=-1, timeout=0, write-action=UPDATE, fileType=csv, delimiter=,, timeZoneOffset=0, ignoreFirstLine=true, abortErrorCount=0] INFO AerospikeLoad :415 - Reader pool size : 12 INFO PrintStat :85 - 2017-02-26 18:07:35 load(Write count=0 tps=36 Errors=36 (Timeout:0 KeyExists:0 othersWrites:36 ReadErrors:0 Processing:0) Progress:16% INFO AerospikeLoad :541 - Processing: data.csv INFO AerospikeLoad :425 - Shutdown down reader thread pool ERROR AsWriterTask :125 - File:data.csv Line:13Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:14Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:9Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:10Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:8Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:11Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:15Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:2Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:4Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:16Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:3Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:6Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:5Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:7Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:25Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:24Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:22Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:19Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:18Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:20Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:12Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:17Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:21Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:26Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:23Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:27Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:29Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:31Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:30Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:35Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:32Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:36Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:38Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:34Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:33Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:40Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:43Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:42Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:41Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:39Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:37Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:52Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:46Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:49Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:50Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:48Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:47Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:45Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:44Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:28Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:58Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:57Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:56Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:55Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:54Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:51Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:53Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:59Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:62Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:61Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:65Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:67Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:70Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:72Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:63Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:74Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:76Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:68Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:78Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:80Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:82Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:73Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:87Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:90Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:92Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:93Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:91Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:69Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:64Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:97Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:98Aerospike Write Error:20 INFO AerospikeLoad :536 - Reader completed 101-lines in 0.019sec, From file: data.csv ERROR AsWriterTask :125 - File:data.csv Line:60Aerospike Write Error:20 INFO AerospikeLoad :429 - Reader thread pool terminated ERROR AsWriterTask :125 - File:data.csv Line:101Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:100Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:99Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:94Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:96Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:95Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:66Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:89Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:88Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:84Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:83Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:86Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:85Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:81Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:79Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:75Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:77Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:71Aerospike Write Error:20 INFO AerospikeLoad :433 - Shutdown down writer thread pool INFO AerospikeLoad :436 - Writer thread pool terminated INFO AerospikeLoad :439 - Final Statistics of importer: (Succesfull Writes = 0, Errors=136(136-Write,0-Read,0-Processing) INFO AerospikeLoad :451 - Aerospike loader completed TestValidateInteger: start INFO AerospikeLoad :99 - Aerospike loader started INFO AerospikeLoad :199 - Number of data files:1 INFO Parser :165 - Number of columns: 2(metadata) + 1(bins) INFO AerospikeLoad :210 - Config file processed. INFO AerospikeLoad :406 - Parameters:[ host=127.0.0.1, port=3000, ns=test, set=null, ttl=-1, timeout=0, write-action=UPDATE, fileType=csv, delimiter=,, timeZoneOffset=0, ignoreFirstLine=true, abortErrorCount=0] INFO AerospikeLoad :415 - Reader pool size : 12 INFO PrintStat :85 - 2017-02-26 18:07:35 load(Write count=0 tps=136 Errors=136 (Timeout:0 KeyExists:0 othersWrites:136 ReadErrors:0 Processing:0) Progress:97% INFO AerospikeLoad :425 - Shutdown down reader thread pool INFO AerospikeLoad :541 - Processing: data.csv ERROR AsWriterTask :125 - File:data.csv Line:2Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:4Aerospike Write Error:20 INFO AerospikeLoad :536 - Reader completed 11-lines in 0.000sec, From file: data.csv INFO AerospikeLoad :429 - Reader thread pool terminated INFO AerospikeLoad :433 - Shutdown down writer thread pool ERROR AsWriterTask :125 - File:data.csv Line:3Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:10Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:11Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:9Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:8Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:7Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:5Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:6Aerospike Write Error:20 INFO AerospikeLoad :436 - Writer thread pool terminated INFO AerospikeLoad :439 - Final Statistics of importer: (Succesfull Writes = 0, Errors=146(146-Write,0-Read,0-Processing) INFO AerospikeLoad :451 - Aerospike loader completed com.aerospike.client.AerospikeException: Error Code 20: Namespace not found at com.aerospike.client.command.ReadCommand.parseResult(ReadCommand.java:121) at com.aerospike.client.command.SyncCommand.execute(SyncCommand.java:56) at com.aerospike.client.AerospikeClient.get(AerospikeClient.java:496) at com.aerospike.load.CsvFileParserTest.validateMap(CsvFileParserTest.java:481) at com.aerospike.load.CsvFileParserTest.testValidateInteger(CsvFileParserTest.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) TestValidateBlob: start INFO AerospikeLoad :99 - Aerospike loader started INFO AerospikeLoad :199 - Number of data files:1 INFO Parser :165 - Number of columns: 2(metadata) + 1(bins) INFO AerospikeLoad :210 - Config file processed. INFO AerospikeLoad :406 - Parameters:[ host=127.0.0.1, port=3000, ns=test, set=null, ttl=-1, timeout=0, write-action=UPDATE, fileType=csv, delimiter=,, timeZoneOffset=0, ignoreFirstLine=true, abortErrorCount=0] INFO AerospikeLoad :415 - Reader pool size : 12 INFO PrintStat :85 - 2017-02-26 18:07:35 load(Write count=0 tps=146 Errors=146 (Timeout:0 KeyExists:0 othersWrites:146 ReadErrors:0 Processing:0) Progress:95% INFO AerospikeLoad :425 - Shutdown down reader thread pool INFO AerospikeLoad :541 - Processing: data.csv ERROR AsWriterTask :125 - File:data.csv Line:2Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:3Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:4Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:6Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:10Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:8Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:7Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:9Aerospike Write Error:20 ERROR AsWriterTask :125 - File:data.csv Line:11Aerospike Write Error:20 INFO AerospikeLoad :536 - Reader completed 11-lines in 0.001sec, From file: data.csv ERROR AsWriterTask :125 - File:data.csv Line:5Aerospike Write Error:20 INFO AerospikeLoad :429 - Reader thread pool terminated INFO AerospikeLoad :433 - Shutdown down writer thread pool INFO AerospikeLoad :436 - Writer thread pool terminated INFO AerospikeLoad :439 - Final Statistics of importer: (Succesfull Writes = 0, Errors=156(156-Write,0-Read,0-Processing) INFO AerospikeLoad :451 - Aerospike loader completed com.aerospike.client.AerospikeException: Error Code 20: Namespace not found at com.aerospike.client.command.ReadCommand.parseResult(ReadCommand.java:121) at com.aerospike.client.command.SyncCommand.execute(SyncCommand.java:56) at com.aerospike.client.AerospikeClient.get(AerospikeClient.java:496) at com.aerospike.load.CsvFileParserTest.validateMap(CsvFileParserTest.java:481) at com.aerospike.load.CsvFileParserTest.testValidateBlob(CsvFileParserTest.java:230) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) TestValidateList: start Tests run: 9, Failures: 3, Errors: 6, Skipped: 0, Time elapsed: 0.338 sec <<< FAILURE! - in com.aerospike.load.CsvFileParserTest testValidateTimestampInteger(com.aerospike.load.CsvFileParserTest) Time elapsed: 0.099 sec <<< ERROR! java.lang.NullPointerException: null at com.aerospike.load.CsvFileParserTest.validateBin(CsvFileParserTest.java:506) at com.aerospike.load.CsvFileParserTest.validateMap(CsvFileParserTest.java:486) at com.aerospike.load.CsvFileParserTest.testValidateTimestampInteger(CsvFileParserTest.java:199)

testStaticBinName(com.aerospike.load.CsvFileParserTest) Time elapsed: 0.011 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertTrue(Assert.java:52) at com.aerospike.load.CsvFileParserTest.testStaticBinName(CsvFileParserTest.java:380)

testValidateString(com.aerospike.load.CsvFileParserTest) Time elapsed: 0.014 sec <<< ERROR! java.lang.NullPointerException: null at com.aerospike.load.CsvFileParserTest.validateBin(CsvFileParserTest.java:506) at com.aerospike.load.CsvFileParserTest.validateMap(CsvFileParserTest.java:486) at com.aerospike.load.CsvFileParserTest.testValidateString(CsvFileParserTest.java:108)

testValidateStringUtf8(com.aerospike.load.CsvFileParserTest) Time elapsed: 0.02 sec <<< ERROR! java.lang.NullPointerException: null at com.aerospike.load.CsvFileParserTest.validateBin(CsvFileParserTest.java:506) at com.aerospike.load.CsvFileParserTest.validateMap(CsvFileParserTest.java:486) at com.aerospike.load.CsvFileParserTest.testValidateStringUtf8(CsvFileParserTest.java:169)

testDynamicBinName(com.aerospike.load.CsvFileParserTest) Time elapsed: 0.012 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertTrue(Assert.java:52) at com.aerospike.load.CsvFileParserTest.testDynamicBinName(CsvFileParserTest.java:362)

testAllDatatype(com.aerospike.load.CsvFileParserTest) Time elapsed: 0.059 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertTrue(Assert.java:52) at com.aerospike.load.CsvFileParserTest.testAllDatatype(CsvFileParserTest.java:344)

testValidateInteger(com.aerospike.load.CsvFileParserTest) Time elapsed: 0.011 sec <<< ERROR! java.lang.NullPointerException: null at com.aerospike.load.CsvFileParserTest.validateBin(CsvFileParserTest.java:506) at com.aerospike.load.CsvFileParserTest.validateMap(CsvFileParserTest.java:486) at com.aerospike.load.CsvFileParserTest.testValidateInteger(CsvFileParserTest.java:138)

testValidateBlob(com.aerospike.load.CsvFileParserTest) Time elapsed: 0.012 sec <<< ERROR! java.lang.NullPointerException: null at com.aerospike.load.CsvFileParserTest.validateBin(CsvFileParserTest.java:506) at com.aerospike.load.CsvFileParserTest.validateMap(CsvFileParserTest.java:486) at com.aerospike.load.CsvFileParserTest.testValidateBlob(CsvFileParserTest.java:230)

testValidateList(com.aerospike.load.CsvFileParserTest) Time elapsed: 0.001 sec <<< ERROR! com.aerospike.client.AerospikeException: Error Code 20: Namespace not found at com.aerospike.client.command.DeleteCommand.parseResult(DeleteCommand.java:67) at com.aerospike.client.command.SyncCommand.execute(SyncCommand.java:56) at com.aerospike.client.AerospikeClient.delete(AerospikeClient.java:396) at com.aerospike.load.CsvFileParserTest.testValidateList(CsvFileParserTest.java:250)

Results :

Failed tests: CsvFileParserTest.testStaticBinName:380 null CsvFileParserTest.testDynamicBinName:362 null CsvFileParserTest.testAllDatatype:344 null

Tests in error: CsvFileParserTest.testValidateTimestampInteger:199->validateMap:486->validateBin:506 NullPointer CsvFileParserTest.testValidateString:108->validateMap:486->validateBin:506 NullPointer CsvFileParserTest.testValidateStringUtf8:169->validateMap:486->validateBin:506 NullPointer CsvFileParserTest.testValidateInteger:138->validateMap:486->validateBin:506 NullPointer CsvFileParserTest.testValidateBlob:230->validateMap:486->validateBin:506 NullPointer CsvFileParserTest.testValidateList:250 » Aerospike Error Code 20: Namespace no...

Tests run: 9, Failures: 3, Errors: 6, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.962s [INFO] Finished at: Sun Feb 26 18:07:35 GMT 2017 [INFO] Final Memory: 23M/1963M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project aerospike-load: There are test failures. [ERROR] [ERROR] Please refer to /aerospike-loader/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project aerospike-load: There are test failures.

devinaction commented 7 years ago
Did you give a proper namespace? I guess your loader is hitting this error: 20 AS_PROTO_RESULT_FAIL_NAMESPACE The passed in namespace does not exist on cluster, or no namespace parameter is passed in on request.

Link: http://www.aerospike.com/docs/dev_reference/error_codes.html

arrowplum commented 5 years ago

Latest code is tested on all OS, so it should work on CentOS 7. Also asloader is now part of Aerospike tools package. Closing now but please re-open if issue persists.