Allow non-XML representable separator characters in the ImportTSV tool
----------------------------------------------------------------------

                 Key: HBASE-3623
                 URL: https://issues.apache.org/jira/browse/HBASE-3623
             Project: HBase
          Issue Type: Improvement
          Components: mapreduce
    Affects Versions: 0.90.1
         Environment: Cloudera Hadoop/HBase (3B4)
            Reporter: Harsh J Chouraria
             Fix For: 0.92.0
         Attachments: hbase.importtsv.xml.friendly.r1.diff

The current importtsv functionality will not work if one passes a non-XML 
representable character as the separator character (say, an escape character - 
\u001b, fairly common in use).

{code}
-Dimporttsv.separator=$'\x1b' # This param fails the submitter when serialized.
{code}

While this is a limitation with the Configuration class's being serialized as 
an XML, it can be circumvented by applying a suitable encoding that makes a 
string XML-compatible.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to