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 2020/02/27 13:28:06 UTC

[GitHub] [accumulo] milleruntime commented on a change in pull request #1519: Create StoredTabletFile to use in different situations

milleruntime commented on a change in pull request #1519: Create StoredTabletFile to use in different situations
URL: https://github.com/apache/accumulo/pull/1519#discussion_r385124570
 
 

 ##########
 File path: core/src/main/java/org/apache/accumulo/core/clientImpl/Translator.java
 ##########
 @@ -103,7 +104,14 @@ public TRange translate(Range input) {
   public static class TabletFileTranslator extends Translator<TabletFile,String> {
     @Override
     public String translate(TabletFile input) {
-      return input.getMetadataEntry();
+      return input.getPathStr();
+    }
+  }
+
+  public static class StoredTabletFileTranslator extends Translator<StoredTabletFile,String> {
+    @Override
+    public String translate(StoredTabletFile input) {
+      return input.getPathStr();
 
 Review comment:
   Opened #1533 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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