pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1825) ability to turn off the write ahead log for pig's HBaseStorage
Date Thu, 03 Feb 2011 20:16:29 GMT

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

Alan Gates commented on PIG-1825:
---------------------------------

Starting unit tests and test-patch

> ability to turn off the write ahead log for pig's HBaseStorage
> --------------------------------------------------------------
>
>                 Key: PIG-1825
>                 URL: https://issues.apache.org/jira/browse/PIG-1825
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.8.0
>            Reporter: Corbin Hoenes
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: HBaseStorage_noWAL.patch
>
>
> Added an option to allow a caller of HBaseStorage to turn off the WriteAheadLog feature
while doing bulk loads into hbase.
> From the performance tuning wikipage: http://wiki.apache.org/hadoop/PerformanceTuning
> "To speed up the inserts in a non critical job (like an import job), you can use Put.writeToWAL(false)
to bypass writing to the write ahead log."
> We've tested this on HBase 0.20.6 and it helps dramatically.  
> The -noWAL options is passed in just like other options for hbase storage:
> STORE myalias INTO 'MyTable' USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('mycolumnfamily:field1
mycolumnfamily:field2','-noWAL');
> This would be my first patch so please educate me with any steps I need to do.  

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

        

Mime
View raw message