You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Santhosh Srinivasan (JIRA)" <ji...@apache.org> on 2009/03/03 23:26:56 UTC

[jira] Created: (PIG-695) Pig should not fail when error logs cannot be created

Pig should not fail when error logs cannot be created
-----------------------------------------------------

                 Key: PIG-695
                 URL: https://issues.apache.org/jira/browse/PIG-695
             Project: Pig
          Issue Type: Bug
          Components: impl
    Affects Versions: types_branch
            Reporter: Santhosh Srinivasan
            Assignee: Santhosh Srinivasan
             Fix For: types_branch


Currently, PIG validates the log file location and fails/exits when the log file cannot be created. Instead, it should print a warning and continue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIG-695) Pig should not fail when error logs cannot be created

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

Santhosh Srinivasan updated PIG-695:
------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Patch has been committed.

> Pig should not fail when error logs cannot be created
> -----------------------------------------------------
>
>                 Key: PIG-695
>                 URL: https://issues.apache.org/jira/browse/PIG-695
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>         Attachments: PIG-695.patch
>
>
> Currently, PIG validates the log file location and fails/exits when the log file cannot be created. Instead, it should print a warning and continue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work stopped: (PIG-695) Pig should not fail when error logs cannot be created

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

Work on PIG-695 stopped by Santhosh Srinivasan.

> Pig should not fail when error logs cannot be created
> -----------------------------------------------------
>
>                 Key: PIG-695
>                 URL: https://issues.apache.org/jira/browse/PIG-695
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>         Attachments: PIG-695.patch
>
>
> Currently, PIG validates the log file location and fails/exits when the log file cannot be created. Instead, it should print a warning and continue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIG-695) Pig should not fail when error logs cannot be created

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

Hadoop QA commented on PIG-695:
-------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12413830/PIG-695.patch
  against trunk revision 794937.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-minerva.apache.org/134/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-minerva.apache.org/134/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-minerva.apache.org/134/console

This message is automatically generated.

> Pig should not fail when error logs cannot be created
> -----------------------------------------------------
>
>                 Key: PIG-695
>                 URL: https://issues.apache.org/jira/browse/PIG-695
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>         Attachments: PIG-695.patch
>
>
> Currently, PIG validates the log file location and fails/exits when the log file cannot be created. Instead, it should print a warning and continue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIG-695) Pig should not fail when error logs cannot be created

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

Santhosh Srinivasan updated PIG-695:
------------------------------------

    Status: Patch Available  (was: Open)

> Pig should not fail when error logs cannot be created
> -----------------------------------------------------
>
>                 Key: PIG-695
>                 URL: https://issues.apache.org/jira/browse/PIG-695
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>         Attachments: PIG-695.patch
>
>
> Currently, PIG validates the log file location and fails/exits when the log file cannot be created. Instead, it should print a warning and continue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (PIG-695) Pig should not fail when error logs cannot be created

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

Work on PIG-695 started by Santhosh Srinivasan.

> Pig should not fail when error logs cannot be created
> -----------------------------------------------------
>
>                 Key: PIG-695
>                 URL: https://issues.apache.org/jira/browse/PIG-695
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>         Attachments: PIG-695.patch
>
>
> Currently, PIG validates the log file location and fails/exits when the log file cannot be created. Instead, it should print a warning and continue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIG-695) Pig should not fail when error logs cannot be created

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

Pradeep Kamath commented on PIG-695:
------------------------------------

+1

> Pig should not fail when error logs cannot be created
> -----------------------------------------------------
>
>                 Key: PIG-695
>                 URL: https://issues.apache.org/jira/browse/PIG-695
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>         Attachments: PIG-695.patch
>
>
> Currently, PIG validates the log file location and fails/exits when the log file cannot be created. Instead, it should print a warning and continue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIG-695) Pig should not fail when error logs cannot be created

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

Santhosh Srinivasan updated PIG-695:
------------------------------------

    Fix Version/s: 0.4.0

> Pig should not fail when error logs cannot be created
> -----------------------------------------------------
>
>                 Key: PIG-695
>                 URL: https://issues.apache.org/jira/browse/PIG-695
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>             Fix For: 0.4.0
>
>         Attachments: PIG-695.patch
>
>
> Currently, PIG validates the log file location and fails/exits when the log file cannot be created. Instead, it should print a warning and continue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIG-695) Pig should not fail when error logs cannot be created

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

Santhosh Srinivasan updated PIG-695:
------------------------------------

    Attachment: PIG-695.patch

Attached patch ensures that Pig does not error out when the error log file is not writable. 

> Pig should not fail when error logs cannot be created
> -----------------------------------------------------
>
>                 Key: PIG-695
>                 URL: https://issues.apache.org/jira/browse/PIG-695
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>         Attachments: PIG-695.patch
>
>
> Currently, PIG validates the log file location and fails/exits when the log file cannot be created. Instead, it should print a warning and continue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIG-695) Pig should not fail when error logs cannot be created

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

Santhosh Srinivasan commented on PIG-695:
-----------------------------------------

There are no unit tests added for this fix as this is part of the testing Main. Currently there are no unit tests for Main.

> Pig should not fail when error logs cannot be created
> -----------------------------------------------------
>
>                 Key: PIG-695
>                 URL: https://issues.apache.org/jira/browse/PIG-695
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>         Attachments: PIG-695.patch
>
>
> Currently, PIG validates the log file location and fails/exits when the log file cannot be created. Instead, it should print a warning and continue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.