[jira] [Updated] (HBASE-9708) Improve Snapshot Name Error Message

2014-03-04 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-9708:
---

   Resolution: Fixed
Fix Version/s: 0.94.18
   0.99.0
   0.98.1
   0.96.2
 Assignee: Matteo Bertozzi
   Status: Resolved  (was: Patch Available)

 Improve Snapshot Name Error Message
 ---

 Key: HBASE-9708
 URL: https://issues.apache.org/jira/browse/HBASE-9708
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.94.2
Reporter: Jesse Anderson
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0, 0.94.18

 Attachments: HBASE-9708.1.patch, HBASE-9708.1.patch


 The output for snapshots when you enter an invalid snapshot name talks about 
 User-space table names instead of Snapshot names. The error message 
 should say Snapshot names can only contain
 Here is an example of the output:
 {noformat}
 hbase(main):001:0 snapshot 'user', 'asdf asdf'
 ERROR: java.lang.IllegalArgumentException: Illegal character 32 at 4. 
 User-space table names can only contain 'word characters': i.e. 
 [a-zA-Z_0-9-.]: asdf asdf
 Here is some help for this command:
 Take a snapshot of specified table. Examples:
   hbase snapshot 'sourceTable', 'snapshotName'
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-9708) Improve Snapshot Name Error Message

2014-03-03 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-9708:
---

Attachment: HBASE-9708.1.patch

attached same patch, with line size fixed, waiting for a jenkins run before 
committing it

 Improve Snapshot Name Error Message
 ---

 Key: HBASE-9708
 URL: https://issues.apache.org/jira/browse/HBASE-9708
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.94.2
Reporter: Jesse Anderson
Priority: Minor
 Attachments: HBASE-9708.1.patch, HBASE-9708.1.patch


 The output for snapshots when you enter an invalid snapshot name talks about 
 User-space table names instead of Snapshot names. The error message 
 should say Snapshot names can only contain
 Here is an example of the output:
 {noformat}
 hbase(main):001:0 snapshot 'user', 'asdf asdf'
 ERROR: java.lang.IllegalArgumentException: Illegal character 32 at 4. 
 User-space table names can only contain 'word characters': i.e. 
 [a-zA-Z_0-9-.]: asdf asdf
 Here is some help for this command:
 Take a snapshot of specified table. Examples:
   hbase snapshot 'sourceTable', 'snapshotName'
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-9708) Improve Snapshot Name Error Message

2014-03-03 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-9708:
---

Attachment: HBASE-9708.1.patch

 Improve Snapshot Name Error Message
 ---

 Key: HBASE-9708
 URL: https://issues.apache.org/jira/browse/HBASE-9708
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.94.2
Reporter: Jesse Anderson
Priority: Minor
 Attachments: HBASE-9708.1.patch, HBASE-9708.1.patch


 The output for snapshots when you enter an invalid snapshot name talks about 
 User-space table names instead of Snapshot names. The error message 
 should say Snapshot names can only contain
 Here is an example of the output:
 {noformat}
 hbase(main):001:0 snapshot 'user', 'asdf asdf'
 ERROR: java.lang.IllegalArgumentException: Illegal character 32 at 4. 
 User-space table names can only contain 'word characters': i.e. 
 [a-zA-Z_0-9-.]: asdf asdf
 Here is some help for this command:
 Take a snapshot of specified table. Examples:
   hbase snapshot 'sourceTable', 'snapshotName'
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-9708) Improve Snapshot Name Error Message

2014-03-03 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-9708:
---

Attachment: (was: HBASE-9708.1.patch)

 Improve Snapshot Name Error Message
 ---

 Key: HBASE-9708
 URL: https://issues.apache.org/jira/browse/HBASE-9708
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.94.2
Reporter: Jesse Anderson
Priority: Minor
 Attachments: HBASE-9708.1.patch, HBASE-9708.1.patch


 The output for snapshots when you enter an invalid snapshot name talks about 
 User-space table names instead of Snapshot names. The error message 
 should say Snapshot names can only contain
 Here is an example of the output:
 {noformat}
 hbase(main):001:0 snapshot 'user', 'asdf asdf'
 ERROR: java.lang.IllegalArgumentException: Illegal character 32 at 4. 
 User-space table names can only contain 'word characters': i.e. 
 [a-zA-Z_0-9-.]: asdf asdf
 Here is some help for this command:
 Take a snapshot of specified table. Examples:
   hbase snapshot 'sourceTable', 'snapshotName'
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-9708) Improve Snapshot Name Error Message

2014-02-28 Thread Matteo Bertozzi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matteo Bertozzi updated HBASE-9708:
---

Status: Patch Available  (was: Open)

 Improve Snapshot Name Error Message
 ---

 Key: HBASE-9708
 URL: https://issues.apache.org/jira/browse/HBASE-9708
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.94.2
Reporter: Jesse Anderson
Priority: Minor
 Attachments: HBASE-9708.1.patch


 The output for snapshots when you enter an invalid snapshot name talks about 
 User-space table names instead of Snapshot names. The error message 
 should say Snapshot names can only contain
 Here is an example of the output:
 {noformat}
 hbase(main):001:0 snapshot 'user', 'asdf asdf'
 ERROR: java.lang.IllegalArgumentException: Illegal character 32 at 4. 
 User-space table names can only contain 'word characters': i.e. 
 [a-zA-Z_0-9-.]: asdf asdf
 Here is some help for this command:
 Take a snapshot of specified table. Examples:
   hbase snapshot 'sourceTable', 'snapshotName'
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HBASE-9708) Improve Snapshot Name Error Message

2014-02-27 Thread Esteban Gutierrez (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Esteban Gutierrez updated HBASE-9708:
-

Attachment: HBASE-9708.1.patch

The patch extends TableName.isLegalTableQualifierName() to handle a more 
snapshot related error messages via an additional argument while keeping 
backward compatibility with the existing usage of this method.


 Improve Snapshot Name Error Message
 ---

 Key: HBASE-9708
 URL: https://issues.apache.org/jira/browse/HBASE-9708
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.94.2
Reporter: Jesse Anderson
Priority: Minor
 Attachments: HBASE-9708.1.patch


 The output for snapshots when you enter an invalid snapshot name talks about 
 User-space table names instead of Snapshot names. The error message 
 should say Snapshot names can only contain
 Here is an example of the output:
 {noformat}
 hbase(main):001:0 snapshot 'user', 'asdf asdf'
 ERROR: java.lang.IllegalArgumentException: Illegal character 32 at 4. 
 User-space table names can only contain 'word characters': i.e. 
 [a-zA-Z_0-9-.]: asdf asdf
 Here is some help for this command:
 Take a snapshot of specified table. Examples:
   hbase snapshot 'sourceTable', 'snapshotName'
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)