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

Josh Elser edited comment on ACCUMULO-4445 at 9/1/16 8:03 PM:
--------------------------------------------------------------

>From assemble/bin/accumulo:

{code}
+# Strip the instance from $1
+APP=$1
+INSTANCE="1"
+if [[ "$1" =~ .*-.* ]]; then
+  APP=`echo $1 | cut -d"-" -f1`
+  INSTANCE=`echo $1 | cut -d"-" -f2`
+
+  #Rewrite the input arguments
+  set -- "$APP" "${@:2}"
+fi
{code}


was (Author: milleruntime):
>From assemble/bin/accumulo:
+
+# Strip the instance from $1
+APP=$1
+INSTANCE="1"
+if [[ "$1" =~ .*-.* ]]; then
+  APP=`echo $1 | cut -d"-" -f1`
+  INSTANCE=`echo $1 | cut -d"-" -f2`
+
+  #Rewrite the input arguments
+  set -- "$APP" "${@:2}"
+fi
+

> rfile-info not working
> ----------------------
>
>                 Key: ACCUMULO-4445
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4445
>             Project: Accumulo
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Michael Miller
>            Assignee: Christopher Tubbs
>            Priority: Blocker
>             Fix For: 1.8.0
>
>
> Running the command line tool accumulo rfile-info gives an error:
> ./bin/accumulo rfile-info /accumulo/tables/+r/root_tablet/A0000004.rf
> Classname rfile not found.  Please make sure you use the wholly qualified 
> package name.
> Calling the PrintInfo class directly from the command line does still work 
> though:
> ./bin/accumulo org.apache.accumulo.core.file.rfile.PrintInfo 
> /accumulo/tables/1/default_tablet/A000000n.rf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to