falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "samar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-536) Basic dry run/validation module
Date Mon, 22 Sep 2014 08:43:33 GMT

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

samar commented on FALCON-536:
------------------------------

Using the PigServer might help us achieve the dry run feature. the code might look something
like


PigServer pig = new PigServer(ExecType.LOCAL );
.......
pigServer.registerQuery("A = LOAD '"
            + Util.generateURI(tmpFile.toString(), pigServer.getPigContext())
            + "' using PigStorage() AS (num:int);");
    pigServer.registerQuery("B = order A by num desc;");
    Iterator<Tuple> result = pigServer.openIterator("B");

....



> Basic dry run/validation module
> -------------------------------
>
>                 Key: FALCON-536
>                 URL: https://issues.apache.org/jira/browse/FALCON-536
>             Project: Falcon
>          Issue Type: Sub-task
>            Reporter: samar
>   Original Estimate: 40h
>  Remaining Estimate: 40h
>




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

Mime
View raw message