Jeongdae Kim created PHOENIX-3509:
-------------------------------------

             Summary: Failed to create snapshot when upgrading Phoenix in 
specific timezone.
                 Key: PHOENIX-3509
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3509
             Project: Phoenix
          Issue Type: Bug
            Reporter: Jeongdae Kim
            Assignee: Jeongdae Kim
            Priority: Minor


HBase allows to use alphanumeric characters([a-zA-Z_0-9-.]) for snapshot name, 
and phoenix make snapshot name in combination with tablename, version and 
current time(SimpleDateFormat("yyyyMMddHHmmssZ"))

when timezone is GMT+ like (GMT+9), snapshot name includes +(plus), and this 
causes IllegalArgmentException from HBase like below.

{quote}
"Illegal character code:43, <+> at 53. Snapshot qualifiers can only contain 
'alphanumeric characters': i.e. [a-zA-Z_0-9-.]: 
SNAPSHOT_SYSTEM.CATALOG_4.8.x_TO_4.9.0_20161129105640+0900"
{quote}

i think timezone is not necessary to make snapshot name.



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

Reply via email to