Can you try the latest version of BNP ?
Hi,--When i run bnp jobs with voldemort version 1.10.3 fails with following error.16/06/09 03:54:19 INFO azkaban.VoldemortBuildAndPushJobRunner: Extracting config properties out of: /Users/janardhang/config16/06/09 03:54:19 INFO shell-job: Job props.toString(): {avro.value.field: subject_id, push.store.owners: mye...@myworkplace.com, push.store.name: wordcount-json, build.input.path: /user/hadoop/dir9, push.store.description: "Testing avro build and push", job.class: voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJob, avro.key.field: student_id, build.output.dir: /tmp, build.type.avro: true, build.replication.factor: 1, push.cluster: tcp://localhost:6099, type: java, }16/06/09 03:54:20 INFO client.AbstractStoreClientFactory: Client zone-id [-1] Attempting to get raw store [voldsys$_metadata_version_persistence]16/06/09 03:54:20 WARN routed.PipelineRoutedStore: Client Zone is not specified. Default to Zone 0. The servers could be in a remote zone16/06/09 03:54:20 INFO client.AbstractStoreClientFactory: Client zone-id [-1] Attempting to get raw store [voldsys$_store_quotas]16/06/09 03:54:20 WARN routed.PipelineRoutedStore: Client Zone is not specified. Default to Zone 0. The servers could be in a remote zone16/06/09 03:54:20 INFO shell-job: voldemort.fetcher.protocol is set to : webhdfs16/06/09 03:54:20 INFO shell-job: voldemort.fetcher.port is set to : 5007016/06/09 03:54:20 INFO shell-job: Build and Push Job constructed for 1 cluster(s).16/06/09 03:54:20 INFO shell-job: Requesting block-level compression codec expected by Server16/06/09 03:54:20 INFO shell-job: Server responded with block-level compression codecs: [ NO_CODEC ]16/06/09 03:54:20 INFO shell-job: Using no block-level compression16/06/09 03:54:20 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable16/06/09 03:54:22 INFO shell-job: Verifying store against cluster URL: tcp://localhost:6099<store><name>wordcount-json</name><persistence>read-only</persistence><description>"Testing avro build and push"</description><owners>mye...@myworkplace.com</owners><routing>client</routing><replication-factor>1</replication-factor><required-reads>1</required-reads><required-writes>1</required-writes><key-serializer><type>avro-generic</type><schema-info version="0">"int"</schema-info></key-serializer><value-serializer><type>avro-generic</type><schema-info version="0">"int"</schema-info></value-serializer></store>16/06/09 03:54:22 INFO shell-job: Closing AdminClient with mainBootstrapUrl: tcp://localhost:609916/06/09 03:54:22 ERROR azkaban.VoldemortBuildAndPushJobRunner: Exception while running BnP job!voldemort.VoldemortException: An exception occurred during Build and Push !!at voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJob.run(VoldemortBuildAndPushJob.java:553)at voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJobRunner.main(VoldemortBuildAndPushJobRunner.java:34)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:497)at org.apache.hadoop.util.RunJar.run(RunJar.java:221)at org.apache.hadoop.util.RunJar.main(RunJar.java:136)Caused by: java.lang.NullPointerExceptionat voldemort.store.StoreDefinition.diff(StoreDefinition.java:537)at voldemort.client.protocol.admin.AdminClient$StoreManagementOperations.diffMessage(AdminClient.java:1834)at voldemort.client.protocol.admin.AdminClient$StoreManagementOperations.verifyOrAddStore(AdminClient.java:1789)at voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJob.verifyOrAddStore(VoldemortBuildAndPushJob.java:873)at voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJob.verifyOrAddAvroStore(VoldemortBuildAndPushJob.java:845)at voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJob.run(VoldemortBuildAndPushJob.java:482)... 7 moreBnP run script finished!Can some help on this error.Regards,Janardhan B G
You received this message because you are subscribed to the Google Groups "project-voldemort" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-voldem...@googlegroups.com.
Visit this group at https://groups.google.com/group/project-voldemort.
For more options, visit https://groups.google.com/d/optout.
Hi Arun,With latest version also finding error.Voldemort version detected: 1.10.17
Executing BnP with:
config_file : /Users/janardhang/config
hadoop_config_path : /usr/local/hadoop/etc/hadoop/
16/06/09 09:51:36 INFO azkaban.VoldemortBuildAndPushJobRunner: Extracting config properties out of: /Users/janardhang/config
16/06/09 09:51:36 INFO shell-job: Job props:
{
avro.key.field: student_id
avro.value.field: subject_id
build.input.path: /user/hadoop/dir9
build.output.dir: /tmp
build.replication.factor: 1
build.type.avro: true
job.class: voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJob
push.cluster: tcp://localhost:6099
push.store.description: "Testing avro build and push"
push.store.name: wordcount-json
push.store.owners: mye...@myworkplace.com
type: java
}
16/06/09 09:51:37 INFO client.AbstractStoreClientFactory: Client zone-id [-1] Attempting to get raw store [voldsys$_metadata_version_persistence]
16/06/09 09:51:37 WARN routed.PipelineRoutedStore: Client Zone is not specified. Default to Zone 0. The servers could be in a remote zone
16/06/09 09:51:37 INFO client.AbstractStoreClientFactory: Client zone-id [-1] Attempting to get raw store [voldsys$_store_quotas]
16/06/09 09:51:37 WARN routed.PipelineRoutedStore: Client Zone is not specified. Default to Zone 0. The servers could be in a remote zone
16/06/09 09:51:37 INFO shell-job: voldemort.fetcher.protocol is set to : webhdfs
16/06/09 09:51:37 INFO shell-job: voldemort.fetcher.port is set to : 50070
16/06/09 09:51:37 INFO shell-job: Build and Push Job constructed for 1 cluster(s).
16/06/09 09:51:37 INFO shell-job: Requesting block-level compression codec expected by Server
16/06/09 09:51:37 INFO shell-job: Server responded with block-level compression codecs: [ NO_CODEC ]
16/06/09 09:51:37 INFO shell-job: Using no block-level compression
16/06/09 09:51:37 ERROR admin.AdminClient: Node vp21a00it-hpcx04094101:6099 [id 1] responded with an error to our GetConfigRequest for key '': Metadata Key passed '' is not handled yet
16/06/09 09:51:37 ERROR admin.AdminClient: Node vp21a00it-hpcx04094101:6099 [id 1] does not contain config key 'readonly.build.primary.replicas.only'.
16/06/09 09:51:38 ERROR admin.AdminClient: Node vp21a00it-hpcx04094201:6099 [id 2] responded with an error to our GetConfigRequest for key '': Metadata Key passed '' is not handled yet
16/06/09 09:51:38 ERROR admin.AdminClient: Node vp21a00it-hpcx04094201:6099 [id 2] does not contain config key 'readonly.build.primary.replicas.only'.
16/06/09 09:51:38 INFO shell-job: 'build.primary.replicas.only' is not supported on this destination cluster: tcp://localhost:6099
16/06/09 09:51:38 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
16/06/09 09:51:39 INFO shell-job: Verifying store against cluster URL: tcp://localhost:6099
<store>
<name>wordcount-json</name>
<persistence>read-only</persistence>
<description>"Testing avro build and push"</description>
<owners>mye...@myworkplace.com</owners>
<routing>client</routing>
<replication-factor>1</replication-factor>
<required-reads>1</required-reads>
<required-writes>1</required-writes>
<key-serializer>
<type>avro-generic</type>
<schema-info version="0">"int"</schema-info>
</key-serializer>
<value-serializer>
<type>avro-generic</type>
<schema-info version="0">"int"</schema-info>
</value-serializer>
</store>
16/06/09 09:51:39 INFO shell-job: Closing AdminClient with BootStrapUrls: [tcp://localhost:6099]
16/06/09 09:51:39 ERROR azkaban.VoldemortBuildAndPushJobRunner: Exception while running BnP job!
voldemort.VoldemortException: An exception occurred during Build and Push !!
at voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJob.run(VoldemortBuildAndPushJob.java:634)
at voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJobRunner.main(VoldemortBuildAndPushJobRunner.java:34)
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:497)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.lang.NullPointerException
at voldemort.store.StoreDefinition.diff(StoreDefinition.java:537)
at voldemort.client.protocol.admin.AdminClient$StoreManagementOperations.diffMessage(AdminClient.java:2083)
at voldemort.client.protocol.admin.AdminClient$StoreManagementOperations.verifyOrAddStore(AdminClient.java:2031)
at voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJob.verifyOrAddStore(VoldemortBuildAndPushJob.java:944)
at voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJob.verifyOrAddAvroStore(VoldemortBuildAndPushJob.java:916)
at voldemort.store.readonly.mr.azkaban.VoldemortBuildAndPushJob.run(VoldemortBuildAndPushJob.java:563)
... 7 more
BnP run script finished!
Regards,Janardhan B G
Also use the node by node build ( This is the default, unless you enable it in the config).