You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Earl Cahill (JIRA)" <ji...@apache.org> on 2008/10/10 08:09:44 UTC

[jira] Created: (PIG-487) extract a host from a url

extract a host from a url
-------------------------

                 Key: PIG-487
                 URL: https://issues.apache.org/jira/browse/PIG-487
             Project: Pig
          Issue Type: New Feature
            Reporter: Earl Cahill


Want to be able to extract the host from a url.  For example,

http://sports.espn.go.com/mlb/recap?gameId=281009122

leads to

sports.espn.go.com

Pig latin usage looks like

host = FOREACH row GENERATE org.apache.pig.piggybank.evaluation.util.apachelogparser.HostExtractor(url);


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


[jira] Commented: (PIG-487) extract a host from a url

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

Alan Gates commented on PIG-487:
--------------------------------

This patch looks good.  It relies on PIG-486, which I had a concern on.  So I'll wait until 486 gets committed before I commit this one.

> extract a host from a url
> -------------------------
>
>                 Key: PIG-487
>                 URL: https://issues.apache.org/jira/browse/PIG-487
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Earl Cahill
>         Attachments: HostExtractor-PIG-487
>
>
> Want to be able to extract the host from a url.  For example,
> http://sports.espn.go.com/mlb/recap?gameId=281009122
> leads to
> sports.espn.go.com
> Pig latin usage looks like
> host = FOREACH row GENERATE org.apache.pig.piggybank.evaluation.util.apachelogparser.HostExtractor(url);

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


[jira] Updated: (PIG-487) extract a host from a url

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

Earl Cahill updated PIG-487:
----------------------------

    Attachment:     (was: HostExtractor-PIG-487)

> extract a host from a url
> -------------------------
>
>                 Key: PIG-487
>                 URL: https://issues.apache.org/jira/browse/PIG-487
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Earl Cahill
>
> Want to be able to extract the host from a url.  For example,
> http://sports.espn.go.com/mlb/recap?gameId=281009122
> leads to
> sports.espn.go.com
> Pig latin usage looks like
> host = FOREACH row GENERATE org.apache.pig.piggybank.evaluation.util.apachelogparser.HostExtractor(url);

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


[jira] Updated: (PIG-487) extract a host from a url

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

Earl Cahill updated PIG-487:
----------------------------

    Attachment: HostExtractor-PIG-487

the PIG-486 was a cut and paste error

> extract a host from a url
> -------------------------
>
>                 Key: PIG-487
>                 URL: https://issues.apache.org/jira/browse/PIG-487
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Earl Cahill
>         Attachments: HostExtractor-PIG-487
>
>
> Want to be able to extract the host from a url.  For example,
> http://sports.espn.go.com/mlb/recap?gameId=281009122
> leads to
> sports.espn.go.com
> Pig latin usage looks like
> host = FOREACH row GENERATE org.apache.pig.piggybank.evaluation.util.apachelogparser.HostExtractor(url);

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


[jira] Updated: (PIG-487) extract a host from a url

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

Earl Cahill updated PIG-487:
----------------------------

    Status: Patch Available  (was: Open)

patch contains

org.apache.pig.piggybank.evaluation.util.apachelogparser.HostExtractor
org.apache.pig.piggybank.test.evaluation.util.apachelogparser.TestHostExtractor


> extract a host from a url
> -------------------------
>
>                 Key: PIG-487
>                 URL: https://issues.apache.org/jira/browse/PIG-487
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Earl Cahill
>         Attachments: HostExtractor-PIG-487
>
>
> Want to be able to extract the host from a url.  For example,
> http://sports.espn.go.com/mlb/recap?gameId=281009122
> leads to
> sports.espn.go.com
> Pig latin usage looks like
> host = FOREACH row GENERATE org.apache.pig.piggybank.evaluation.util.apachelogparser.HostExtractor(url);

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


[jira] Updated: (PIG-487) extract a host from a url

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

Earl Cahill updated PIG-487:
----------------------------

    Attachment: HostExtractor-PIG-487

Enjoy!

> extract a host from a url
> -------------------------
>
>                 Key: PIG-487
>                 URL: https://issues.apache.org/jira/browse/PIG-487
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Earl Cahill
>         Attachments: HostExtractor-PIG-487
>
>
> Want to be able to extract the host from a url.  For example,
> http://sports.espn.go.com/mlb/recap?gameId=281009122
> leads to
> sports.espn.go.com
> Pig latin usage looks like
> host = FOREACH row GENERATE org.apache.pig.piggybank.evaluation.util.apachelogparser.HostExtractor(url);

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


[jira] Issue Comment Edited: (PIG-487) extract a host from a url

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

spackest edited comment on PIG-487 at 10/10/08 9:41 PM:
-----------------------------------------------------------

the PIG-486 dependency was a cut and paste error

      was (Author: spackest):
    the PIG-486 was a cut and paste error
  
> extract a host from a url
> -------------------------
>
>                 Key: PIG-487
>                 URL: https://issues.apache.org/jira/browse/PIG-487
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Earl Cahill
>         Attachments: HostExtractor-PIG-487
>
>
> Want to be able to extract the host from a url.  For example,
> http://sports.espn.go.com/mlb/recap?gameId=281009122
> leads to
> sports.espn.go.com
> Pig latin usage looks like
> host = FOREACH row GENERATE org.apache.pig.piggybank.evaluation.util.apachelogparser.HostExtractor(url);

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


[jira] Updated: (PIG-487) extract a host from a url

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

Alan Gates updated PIG-487:
---------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Patch checked in.  Thanks Earl.

> extract a host from a url
> -------------------------
>
>                 Key: PIG-487
>                 URL: https://issues.apache.org/jira/browse/PIG-487
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Earl Cahill
>         Attachments: HostExtractor-PIG-487
>
>
> Want to be able to extract the host from a url.  For example,
> http://sports.espn.go.com/mlb/recap?gameId=281009122
> leads to
> sports.espn.go.com
> Pig latin usage looks like
> host = FOREACH row GENERATE org.apache.pig.piggybank.evaluation.util.apachelogparser.HostExtractor(url);

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