I ended up using a workaround. I turned the hbase-site.xml to a HashMap,
which can serialize to the bolts.


Thanks,

Ian





On 9/28/16, 4:51 PM, "[email protected] on behalf of Stack"
<[email protected] on behalf of [email protected]> wrote:

>On Mon, Sep 26, 2016 at 11:38 AM, <[email protected]> wrote:
>
>> Hi,
>>
>> I¹ve been working on a storm topology. Our cluster is setup with storm
>> bolts running on separate nodes from Hbase nodes. The configs are setup
>> right now, so they match the services running on the node. Is this a
>>best
>> practice or should /etc/habse/conf/* exist on all nodes regardless?
>>
>>
>What is your deploy system like? Easy shipping config crafted by node
>character/role/profile?
>
>
>
>> The problem is that the storm bolt is looking for that file to pickup
>>it¹s
>> zookeeper configs and others and they aren¹t there. Configuration
>>objects
>> aren¹t serializable, so we¹re resorting to cherry picking properties
>>from
>> hbase-site.xml and serializing them off to the bolt.
>>
>>
>
>Serialize? (Sorry, not up on Storm config system -- a pointer would help).
>The bolt has an hbase client in it I suppose. How hard to add
>hbase-site.xml to the bolt CLASSPATH? How hard to bundle the config ... an
>hbase-site.xml ... into the bolt)?
>
>Thanks,
>St.Ack
>
>
>> Any advice would be appreciated.
>>
>> Thanks,
>>
>> Ian
>>

Reply via email to