helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanak Biscuitwala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-410) ClusterStateVerifier does not parse "--resources" argument
Date Wed, 19 Mar 2014 18:37:45 GMT

    [ https://issues.apache.org/jira/browse/HELIX-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940805#comment-13940805
] 

Kanak Biscuitwala commented on HELIX-410:
-----------------------------------------

A fix is out for review at https://reviews.apache.org/r/19415

In the mean time, you can do this instead:

boolean result =
        ClusterStateVerifier.verifyByZkCallback(new BestPossAndExtViewZkVerifier(ZK_ADDR,
            _clusterName, null, Sets.newHashSet(RESOURCES[1])));

> ClusterStateVerifier does not parse "--resources" argument
> ----------------------------------------------------------
>
>                 Key: HELIX-410
>                 URL: https://issues.apache.org/jira/browse/HELIX-410
>             Project: Apache Helix
>          Issue Type: Bug
>          Components: helix-core
>    Affects Versions: 0.6.2-incubating
>            Reporter: A Sebastian
>
> ClusterStateVerifier.verifyState(String[] args) is supposed to take a "--resources" argument
but it fails to parse because the ClusterStateVerifier.constructCommandLineOptions() does
not add it as an option.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message