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

Piotr Kołaczkowski commented on CASSANDRA-7410:
-----------------------------------------------

org/apache/cassandra/hadoop/pig/CqlNativeStorage.java:342
{noformat}
    private boolean serverEntryped()
    {
        if (!StringUtils.isEmpty(internodeEncrypt))
            return InternodeEncryption.none != 
InternodeEncryption.valueOf(internodeEncrypt.toLowerCase());

        return false;
    }
{noformat}

Typo: serverEntryped -> serverEncrypted.
Also, the if can be slightly simplified:
{noformat}
    private boolean serverEntryped()
    {
        return !StringUtils.isEmpty(internodeEncrypt) && 
            InternodeEncryption.none != 
InternodeEncryption.valueOf(internodeEncrypt.toLowerCase());    
    }
{noformat}

Other than this, it looks good.
+1

> Pig support for BulkOutputFormat as a parameter in url
> ------------------------------------------------------
>
>                 Key: CASSANDRA-7410
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7410
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Hadoop
>            Reporter: Alex Liu
>            Assignee: Alex Liu
>            Priority: Minor
>             Fix For: 2.0.15
>
>         Attachments: 7410-2.0-branch.txt, 7410-2.1-branch.txt, 
> 7410-v2-2.0-branch.txt, 7410-v3-2.0-branch.txt, 
> CASSANDRA-7410-v2-2.1-branch.txt, CASSANDRA-7410-v3-2.1-branch.txt, 
> CASSANDRA-7410-v4-2.0-branch.txt
>
>
> Add BulkOutputFormat support in Pig url



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

Reply via email to