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

stack commented on HBASE-18461:
-------------------------------

I tried it locally and seems to do the right thing... if a \ in name it does 
this:

$ echo `echo "sta\ck" | sed -n -e 's/\\\/\\\\\\\\/p'`
sta\\ck

Let me commit.



> Build broken If the username contains a backslash
> -------------------------------------------------
>
>                 Key: HBASE-18461
>                 URL: https://issues.apache.org/jira/browse/HBASE-18461
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Guangxu Cheng
>            Assignee: Guangxu Cheng
>            Priority: Minor
>             Fix For: 2.0.0-alpha-3
>
>         Attachments: HBASE-18461-master-v1.patch, HBASE-18461-master-v2.patch
>
>
> The character '\' is a special character and needs to be escaped when used as 
> part of a String.
> If the name contains '\', we need to escape it,otherwise the generated file 
> Version.java failed to compile.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to