You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2017/10/18 21:24:10 UTC

[GitHub] ctubbsii commented on a change in pull request #7: ACCUMULO-4717 Use public API

ctubbsii commented on a change in pull request #7: ACCUMULO-4717 Use public API
URL: https://github.com/apache/accumulo-testing/pull/7#discussion_r145547456
 
 

 ##########
 File path: core/src/main/java/org/apache/accumulo/testing/core/randomwalk/shard/BulkInsert.java
 ##########
 @@ -172,7 +171,7 @@ private void sort(State state, RandWalkEnv env, FileSystem fs, String tableName,
 
     Collection<Text> splits = conn.tableOperations().listSplits(tableName, maxSplits);
     for (Text split : splits)
-      out.println(Base64.getEncoder().encodeToString(TextUtil.getBytes(split)));
+      out.println(Base64.getEncoder().encodeToString(split.getBytes()));
 
 Review comment:
   Well, ideally, Text will not be part of the API, eventually. It might make sense to move a few helpful utils into the public API in the interim.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services