accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshelser <...@git.apache.org>
Subject [GitHub] accumulo pull request: ACCUMULO-3089: Create volume chooser from t...
Date Fri, 26 Sep 2014 05:00:48 GMT
Github user joshelser commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/16#discussion_r18073847
  
    --- Diff: server/master/src/main/java/org/apache/accumulo/master/tableOps/CreateTable.java
---
    @@ -176,7 +178,7 @@ public long isReady(long tid, Master environment) throws Exception
{
       @Override
       public Repo<Master> call(long tid, Master master) throws Exception {
         // Constants.DEFAULT_TABLET_LOCATION has a leading slash prepended to it so we don't
need to add one here
    -    tableInfo.dir = master.getFileSystem().choose(ServerConstants.getTablesDirs()) +
"/" + tableInfo.tableId + Constants.DEFAULT_TABLET_LOCATION;
    +    tableInfo.dir = master.getFileSystem().choose(Optional.of(tableInfo.tableId), ServerConstants.getTablesDirs())
+ "/tables/" + tableInfo.tableId + Constants.DEFAULT_TABLET_LOCATION;
    --- End diff --
    
    Extra "tables" here too.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message