Re: How to transfer jar file using distributed cache in Storm 1.0.2

2016-11-14 Thread Jungtaek Lim
What's your use case of transferring a jar? If you just want to load jar to worker's classpath, '--jars' option on upcoming Storm 1.1.0 would help. It provides transferring jars and load them to workers' classpath. If you don't want to load jar to worker's classpath, or need dynamic loading or cla

How to transfer jar file using distributed cache in Storm 1.0.2

2016-11-13 Thread Chen Junfeng
I need to transfer a jar file to all machines in Storm cluster. Distributed cache seems a good feature to complete this job. The document http://storm.apache.org/releases/1.0.2/distcache-blobstore.html doen’t indicate how to read binary file from stored blob. Can I be provided some examples of