[jira] [Commented] (CASSANDRA-8663) cqlsh is showing the integer value for ConsistencyLevel not name

2015-01-21 Thread Andrew J Lenards (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-8663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14286130#comment-14286130
 ] 

Andrew J Lenards commented on CASSANDRA-8663:
-

I should also note that doing the same operations in cqlsh for (DSE 4.6.0 / 
Cassandra  2.0.11.83) does not yield the integer behavior. 

{noformat}
cqlsh:system CONSISTENCY QUORUM;
Consistency level set to QUORUM.
cqlsh:system CONSISTENCY;
Current consistency level is QUORUM.
cqlsh:system CONSISTENCY EACH_QUORUM; 
Consistency level set to EACH_QUORUM.
{noformat} 

 cqlsh is showing the integer value for ConsistencyLevel not name 
 -

 Key: CASSANDRA-8663
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8663
 Project: Cassandra
  Issue Type: Bug
  Components: Tools
 Environment: Cassandra 2.1.2-SNAPSHOT, built/fetched with ccm
Reporter: Andrew J Lenards
Priority: Minor
  Labels: lhf

 When you use issues the {{CONSISTENCY;}} command in {{cqlsh}}, it is showing 
 the integer value for the current consistency level, not the name of that 
 consistency level. 
 Example: 
 {noformat}
 cqlsh CONSISTENCY QUORUM; 
 Consistency level set to QUORUM.
 cqlsh CONSISTENCY; 
 Current consistency level is 4.
 {noformat}
 The output can be confusing for some who might think that it refers to the 
 number of nodes required for acknowledge when performing an operation. The 
 name of the current consistency level would be more clear. 
 More examples: 
 https://gist.github.com/lenards/e97ce13347e7ad454b86
 Thank you.



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


[jira] [Created] (CASSANDRA-8663) cqlsh is showing the integer value for ConsistencyLevel not name

2015-01-21 Thread Andrew J Lenards (JIRA)
Andrew J Lenards created CASSANDRA-8663:
---

 Summary: cqlsh is showing the integer value for ConsistencyLevel 
not name 
 Key: CASSANDRA-8663
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8663
 Project: Cassandra
  Issue Type: Bug
  Components: Tools
 Environment: Cassandra 2.1.2-SNAPSHOT, built/fetched with ccm
Reporter: Andrew J Lenards
Priority: Minor


When you use issues the ``CONSISTENCY;`` command in `cqlsh`, it is showing the 
integer value for the current consistency level, not the name of that 
consistency level. 

Example: 
{noformat}
cqlsh CONSISTENCY QUORUM; 
Consistency level set to QUORUM.
cqlsh CONSISTENCY; 
Current consistency level is 4.
{noformat}

The output can be confusing for some who might think that it refers to the 
number of nodes required for acknowledge when performing an operation. The name 
of the current consistency level would be more clear. 

More examples: 
https://gist.github.com/lenards/e97ce13347e7ad454b86

Thank you.



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


[jira] [Comment Edited] (CASSANDRA-8663) cqlsh is showing the integer value for ConsistencyLevel not name

2015-01-21 Thread Andrew J Lenards (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-8663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14286130#comment-14286130
 ] 

Andrew J Lenards edited comment on CASSANDRA-8663 at 1/21/15 7:34 PM:
--

I should also note that doing the same operations in cqlsh for (DSE 4.6.0 / 
Cassandra  2.0.11.83) does not yield the integer display behavior. 

{noformat}
cqlsh:system CONSISTENCY QUORUM;
Consistency level set to QUORUM.
cqlsh:system CONSISTENCY;
Current consistency level is QUORUM.
cqlsh:system CONSISTENCY EACH_QUORUM; 
Consistency level set to EACH_QUORUM.
{noformat} 


was (Author: alenards):
I should also note that doing the same operations in cqlsh for (DSE 4.6.0 / 
Cassandra  2.0.11.83) does not yield the integer behavior. 

{noformat}
cqlsh:system CONSISTENCY QUORUM;
Consistency level set to QUORUM.
cqlsh:system CONSISTENCY;
Current consistency level is QUORUM.
cqlsh:system CONSISTENCY EACH_QUORUM; 
Consistency level set to EACH_QUORUM.
{noformat} 

 cqlsh is showing the integer value for ConsistencyLevel not name 
 -

 Key: CASSANDRA-8663
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8663
 Project: Cassandra
  Issue Type: Bug
  Components: Tools
 Environment: Cassandra 2.1.2-SNAPSHOT, built/fetched with ccm
Reporter: Andrew J Lenards
Priority: Minor
  Labels: lhf

 When you use issues the {{CONSISTENCY;}} command in {{cqlsh}}, it is showing 
 the integer value for the current consistency level, not the name of that 
 consistency level. 
 Example: 
 {noformat}
 cqlsh CONSISTENCY QUORUM; 
 Consistency level set to QUORUM.
 cqlsh CONSISTENCY; 
 Current consistency level is 4.
 {noformat}
 The output can be confusing for some who might think that it refers to the 
 number of nodes required for acknowledge when performing an operation. The 
 name of the current consistency level would be more clear. 
 More examples: 
 https://gist.github.com/lenards/e97ce13347e7ad454b86
 Thank you.



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


[jira] [Updated] (CASSANDRA-8663) cqlsh is showing the integer value for ConsistencyLevel not name

2015-01-21 Thread Andrew J Lenards (JIRA)

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

Andrew J Lenards updated CASSANDRA-8663:

Description: 
When you use issues the {{CONSISTENCY;}} command in {{cqlsh}}, it is showing 
the integer value for the current consistency level, not the name of that 
consistency level. 

Example: 
{noformat}
cqlsh CONSISTENCY QUORUM; 
Consistency level set to QUORUM.
cqlsh CONSISTENCY; 
Current consistency level is 4.
{noformat}

The output can be confusing for some who might think that it refers to the 
number of nodes required for acknowledge when performing an operation. The name 
of the current consistency level would be more clear. 

More examples: 
https://gist.github.com/lenards/e97ce13347e7ad454b86

Thank you.

  was:
When you use issues the ``CONSISTENCY;`` command in `cqlsh`, it is showing the 
integer value for the current consistency level, not the name of that 
consistency level. 

Example: 
{noformat}
cqlsh CONSISTENCY QUORUM; 
Consistency level set to QUORUM.
cqlsh CONSISTENCY; 
Current consistency level is 4.
{noformat}

The output can be confusing for some who might think that it refers to the 
number of nodes required for acknowledge when performing an operation. The name 
of the current consistency level would be more clear. 

More examples: 
https://gist.github.com/lenards/e97ce13347e7ad454b86

Thank you.


 cqlsh is showing the integer value for ConsistencyLevel not name 
 -

 Key: CASSANDRA-8663
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8663
 Project: Cassandra
  Issue Type: Bug
  Components: Tools
 Environment: Cassandra 2.1.2-SNAPSHOT, built/fetched with ccm
Reporter: Andrew J Lenards
Priority: Minor

 When you use issues the {{CONSISTENCY;}} command in {{cqlsh}}, it is showing 
 the integer value for the current consistency level, not the name of that 
 consistency level. 
 Example: 
 {noformat}
 cqlsh CONSISTENCY QUORUM; 
 Consistency level set to QUORUM.
 cqlsh CONSISTENCY; 
 Current consistency level is 4.
 {noformat}
 The output can be confusing for some who might think that it refers to the 
 number of nodes required for acknowledge when performing an operation. The 
 name of the current consistency level would be more clear. 
 More examples: 
 https://gist.github.com/lenards/e97ce13347e7ad454b86
 Thank you.



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