helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kishore g <g.kish...@gmail.com>
Subject Re: After dropResource , still able to listResourceInfo
Date Tue, 19 May 2015 19:30:04 GMT
Hey Vinod,

Did you get any error when you dropped the resource. I think a Resource can
be dropped only when no Instance is hosting it. Can you post the external
view for this resource.

thanks,
Kishore G



On May 19, 2015 11:11 AM, "Vinoth Chandar" <vinoth@uber.com> wrote:

> Hi,
>
> I dropped the resource already, but still seeing callbacks firing.. I
> cannot list the resource using listResources.
>
> $:~/helix-core-0.6.5$ bin/helix-admin.sh --zkSvr zkmaster:2181
> --dropResource streamio countLog
> $:~/helix-core-0.6.5$ bin/helix-admin.sh --zkSvr zkmaster:2181
> --listResourceInfo streamio countLog | tail -10
>   "simpleFields" : {
>     "BUCKET_SIZE" : "0",
>     "IDEAL_STATE_MODE" : "AUTO_REBALANCE",
>     "NUM_PARTITIONS" : "4096",
>     "REBALANCE_MODE" : "FULL_AUTO",
>     "REPLICAS" : "1",
>     "STATE_MODEL_DEF_REF" : "OnlineOffline",
>     "STATE_MODEL_FACTORY_NAME" : "DEFAULT"
>   }
> }
> $ bin/helix-admin.sh --zkSvr zkmaster:2181 --listResources streamio | grep
> countLog | wc -l
> 0
>
> Any idea how to troubleshoot this?
>
> Thanks
> Vinoth
>

Mime
View raw message