You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Amir Youssefi (JIRA)" <ji...@apache.org> on 2008/05/01 00:18:55 UTC

[jira] Created: (PIG-225) \r in windows

\r in windows
-------------

                 Key: PIG-225
                 URL: https://issues.apache.org/jira/browse/PIG-225
             Project: Pig
          Issue Type: Bug
         Environment: Pig Local on Windows
            Reporter: Amir Youssefi
            Priority: Trivial


Priority: Trivial 

I noticed this while preparing for a Pig Training session on windows.  

grunt> cat C:/tmp/test88.txt;
1       2       3       4
a       b       c       d
r       s       t       ugrunt>

-- meaning the file doesn't have \n and \r in the last line but has those on previous lines. This is to test the difference

grunt> a = load 'C:/tmp/test88.txt';
grunt> dump a;
)1, 2, 3, 4
)a, b, c, d
(r, s, t, u)

-notice location of ")"

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


[jira] Updated: (PIG-225) \r in windows

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

Amir Youssefi updated PIG-225:
------------------------------

    Description: 
Priority: Trivial 

I noticed this while preparing for a Pig Training session on windows.  

grunt> cat C:/tmp/test88.txt;
1       2       3       4
a       b       c       d
r       s       t       ugrunt>

-- meaning the file doesn't have \n and \r in the last line but has those on previous lines. This is to test the difference

grunt> a = load 'C:/tmp/test88.txt';
grunt> dump a;
)1, 2, 3, 4
)a, b, c, d
(r, s, t, u)

 location of ")" and the fact that "(" doesn't show up are the problems.

  was:
Priority: Trivial 

I noticed this while preparing for a Pig Training session on windows.  

grunt> cat C:/tmp/test88.txt;
1       2       3       4
a       b       c       d
r       s       t       ugrunt>

-- meaning the file doesn't have \n and \r in the last line but has those on previous lines. This is to test the difference

grunt> a = load 'C:/tmp/test88.txt';
grunt> dump a;
)1, 2, 3, 4
)a, b, c, d
(r, s, t, u)

-notice location of ")"


> \r in windows
> -------------
>
>                 Key: PIG-225
>                 URL: https://issues.apache.org/jira/browse/PIG-225
>             Project: Pig
>          Issue Type: Bug
>         Environment: Pig Local on Windows
>            Reporter: Amir Youssefi
>            Priority: Trivial
>
> Priority: Trivial 
> I noticed this while preparing for a Pig Training session on windows.  
> grunt> cat C:/tmp/test88.txt;
> 1       2       3       4
> a       b       c       d
> r       s       t       ugrunt>
> -- meaning the file doesn't have \n and \r in the last line but has those on previous lines. This is to test the difference
> grunt> a = load 'C:/tmp/test88.txt';
> grunt> dump a;
> )1, 2, 3, 4
> )a, b, c, d
> (r, s, t, u)
>  location of ")" and the fact that "(" doesn't show up are the problems.

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


[jira] Commented: (PIG-225) \r in windows

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

Pi Song commented on PIG-225:
-----------------------------

Another question. What is the direction on this? It seems all the patches regarding Windows platform are not likely to get in.

> \r in windows
> -------------
>
>                 Key: PIG-225
>                 URL: https://issues.apache.org/jira/browse/PIG-225
>             Project: Pig
>          Issue Type: Bug
>         Environment: Pig Local on Windows
>            Reporter: Amir Youssefi
>            Priority: Trivial
>
> Priority: Trivial 
> I noticed this while preparing for a Pig Training session on windows.  
> grunt> cat C:/tmp/test88.txt;
> 1       2       3       4
> a       b       c       d
> r       s       t       ugrunt>
> -- meaning the file doesn't have \n and \r in the last line but has those on previous lines. This is to test the difference
> grunt> a = load 'C:/tmp/test88.txt';
> grunt> dump a;
> )1, 2, 3, 4
> )a, b, c, d
> (r, s, t, u)
>  location of ")" and the fact that "(" doesn't show up are the problems.

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


[jira] Commented: (PIG-225) \r in windows

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

Pi Song commented on PIG-225:
-----------------------------

1) Xu used to do extensive testing on Windows platform. Is he still in this project?

2) Do we have to officially support Windows right now? Until we get more active developers maybe we just have to focus on only one platform.

> \r in windows
> -------------
>
>                 Key: PIG-225
>                 URL: https://issues.apache.org/jira/browse/PIG-225
>             Project: Pig
>          Issue Type: Bug
>         Environment: Pig Local on Windows
>            Reporter: Amir Youssefi
>            Priority: Trivial
>
> Priority: Trivial 
> I noticed this while preparing for a Pig Training session on windows.  
> grunt> cat C:/tmp/test88.txt;
> 1       2       3       4
> a       b       c       d
> r       s       t       ugrunt>
> -- meaning the file doesn't have \n and \r in the last line but has those on previous lines. This is to test the difference
> grunt> a = load 'C:/tmp/test88.txt';
> grunt> dump a;
> )1, 2, 3, 4
> )a, b, c, d
> (r, s, t, u)
>  location of ")" and the fact that "(" doesn't show up are the problems.

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


[jira] Commented: (PIG-225) \r in windows

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

Alan Gates commented on PIG-225:
--------------------------------

Officially, pig is supposed to support operations on windows.  Practically we haven't been spending cycles on making sure it works in windows.  I noticed that when we modified the unit tests to run local and map reduce, almost all the local tests fail in windows.  I have no idea what the effort would be to get all these working.  

Bottom line, we'd like to make it work on windows, but we need someone to take that on.

> \r in windows
> -------------
>
>                 Key: PIG-225
>                 URL: https://issues.apache.org/jira/browse/PIG-225
>             Project: Pig
>          Issue Type: Bug
>         Environment: Pig Local on Windows
>            Reporter: Amir Youssefi
>            Priority: Trivial
>
> Priority: Trivial 
> I noticed this while preparing for a Pig Training session on windows.  
> grunt> cat C:/tmp/test88.txt;
> 1       2       3       4
> a       b       c       d
> r       s       t       ugrunt>
> -- meaning the file doesn't have \n and \r in the last line but has those on previous lines. This is to test the difference
> grunt> a = load 'C:/tmp/test88.txt';
> grunt> dump a;
> )1, 2, 3, 4
> )a, b, c, d
> (r, s, t, u)
>  location of ")" and the fact that "(" doesn't show up are the problems.

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


[jira] Commented: (PIG-225) \r in windows

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

Pi Song commented on PIG-225:
-----------------------------

Is this only happening in Grunt? How about the actual data being processed?

Like the other ongoing discussion about Local/MapReduce testing modes, the cause of this problem is due to the fact that our testing is not conclusive in all dimensions.

The conceptually complete testing automation has to cover  { Local, MapReduce } x { Linux, Windows}.

To solve this problem the question to be answered is "Is there a simple way to test across multiple platforms easily?"


> \r in windows
> -------------
>
>                 Key: PIG-225
>                 URL: https://issues.apache.org/jira/browse/PIG-225
>             Project: Pig
>          Issue Type: Bug
>         Environment: Pig Local on Windows
>            Reporter: Amir Youssefi
>            Priority: Trivial
>
> Priority: Trivial 
> I noticed this while preparing for a Pig Training session on windows.  
> grunt> cat C:/tmp/test88.txt;
> 1       2       3       4
> a       b       c       d
> r       s       t       ugrunt>
> -- meaning the file doesn't have \n and \r in the last line but has those on previous lines. This is to test the difference
> grunt> a = load 'C:/tmp/test88.txt';
> grunt> dump a;
> )1, 2, 3, 4
> )a, b, c, d
> (r, s, t, u)
>  location of ")" and the fact that "(" doesn't show up are the problems.

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


[jira] Commented: (PIG-225) \r in windows

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

Alan Gates commented on PIG-225:
--------------------------------

Xu is no longer on the project.

> \r in windows
> -------------
>
>                 Key: PIG-225
>                 URL: https://issues.apache.org/jira/browse/PIG-225
>             Project: Pig
>          Issue Type: Bug
>         Environment: Pig Local on Windows
>            Reporter: Amir Youssefi
>            Priority: Trivial
>
> Priority: Trivial 
> I noticed this while preparing for a Pig Training session on windows.  
> grunt> cat C:/tmp/test88.txt;
> 1       2       3       4
> a       b       c       d
> r       s       t       ugrunt>
> -- meaning the file doesn't have \n and \r in the last line but has those on previous lines. This is to test the difference
> grunt> a = load 'C:/tmp/test88.txt';
> grunt> dump a;
> )1, 2, 3, 4
> )a, b, c, d
> (r, s, t, u)
>  location of ")" and the fact that "(" doesn't show up are the problems.

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