You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Gianmarco De Francisci Morales (Created) (JIRA)" <ji...@apache.org> on 2011/10/19 13:30:10 UTC

[jira] [Created] (PIG-2325) Make e2e test directory for data configurable in HDFS

Make e2e test directory for data configurable in HDFS
-----------------------------------------------------

                 Key: PIG-2325
                 URL: https://issues.apache.org/jira/browse/PIG-2325
             Project: Pig
          Issue Type: Improvement
            Reporter: Gianmarco De Francisci Morales
            Priority: Minor


Right now the place for the data generated in e2e tests is hardcoded in test/e2e/pig/conf/default.conf as:
{code}
 $cfg = {
     #HDFS
      'inpathbase'     => '/user/pig/tests/data'
    , 'outpathbase'    => '/user/pig/out'
{code}

It would be better to make it configurable (with an environment variable?) as the rest of the paths.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2325) Make e2e test directory for data configurable in HDFS

Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494454#comment-13494454 ] 

Johnny Zhang commented on PIG-2325:
-----------------------------------

[~azaroth], I think this issue can be closed, it is already been fixed in trunk
in test/e2e/pig/conf/default.conf
{noformat}
my $hdfsBase = $ENV{PH_HDFS_BASE} || "/user/pig";

$cfg = {
    #HDFS
      'inpathbase'     => "$hdfsBase/tests/data"
    , 'outpathbase'    => "$hdfsBase/out"
{noformat}
                
> Make e2e test directory for data configurable in HDFS
> -----------------------------------------------------
>
>                 Key: PIG-2325
>                 URL: https://issues.apache.org/jira/browse/PIG-2325
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Gianmarco De Francisci Morales
>            Priority: Minor
>
> Right now the place for the data generated in e2e tests is hardcoded in test/e2e/pig/conf/default.conf as:
> {code}
>  $cfg = {
>      #HDFS
>       'inpathbase'     => '/user/pig/tests/data'
>     , 'outpathbase'    => '/user/pig/out'
> {code}
> It would be better to make it configurable (with an environment variable?) as the rest of the paths.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (PIG-2325) Make e2e test directory for data configurable in HDFS

Posted by "Gianmarco De Francisci Morales (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gianmarco De Francisci Morales resolved PIG-2325.
-------------------------------------------------

       Resolution: Invalid
    Fix Version/s: 0.12
         Assignee: Gianmarco De Francisci Morales

Thanks!
                
> Make e2e test directory for data configurable in HDFS
> -----------------------------------------------------
>
>                 Key: PIG-2325
>                 URL: https://issues.apache.org/jira/browse/PIG-2325
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Gianmarco De Francisci Morales
>            Assignee: Gianmarco De Francisci Morales
>            Priority: Minor
>             Fix For: 0.12
>
>
> Right now the place for the data generated in e2e tests is hardcoded in test/e2e/pig/conf/default.conf as:
> {code}
>  $cfg = {
>      #HDFS
>       'inpathbase'     => '/user/pig/tests/data'
>     , 'outpathbase'    => '/user/pig/out'
> {code}
> It would be better to make it configurable (with an environment variable?) as the rest of the paths.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira