accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milleruntime <>
Subject [GitHub] accumulo pull request #136: Accumulo 2971: improvements to ChangeSecret Tool
Date Thu, 28 Jul 2016 18:32:46 GMT
Github user milleruntime commented on a diff in the pull request:
    --- Diff: server/base/src/main/java/org/apache/accumulo/server/util/
    @@ -63,12 +66,15 @@ public static void main(String[] args) throws Exception {
         Instance inst = opts.getInstance();
         if (!verifyAccumuloIsDown(inst, opts.oldPass))
    -    String instanceId = rewriteZooKeeperInstance(inst, opts.oldPass, opts.newPass);
    -    updateHdfs(fs, inst, instanceId);
    +    if (!verifyHdfsWritePermission(fs))
    +      System.exit(-1);
    --- End diff --
    A message telling the user they don't have permissions? That is printed in the catch (AccessControlException
ace) in verifyHdfsWritePermission().
    Will fix the System.exits.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message