[jira] Updated: (PIG-1229) allow pig to write output into a JDBC db

2010-02-15 Thread Ian Holsman (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Holsman updated PIG-1229:
-

Attachment: (was: DbStorage.java)

 allow pig to write output into a JDBC db
 

 Key: PIG-1229
 URL: https://issues.apache.org/jira/browse/PIG-1229
 Project: Pig
  Issue Type: New Feature
  Components: impl
Reporter: Ian Holsman
Assignee: Ankur
Priority: Minor
 Attachments: jira-1229.patch


 UDF to store data into a DB

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



[jira] Created: (PIG-1229) allow pig to write output into a JDBC db

2010-02-08 Thread Ian Holsman (JIRA)
allow pig to write output into a JDBC db


 Key: PIG-1229
 URL: https://issues.apache.org/jira/browse/PIG-1229
 Project: Pig
  Issue Type: New Feature
  Components: impl
Reporter: Ian Holsman
Priority: Minor
 Attachments: DbStorage.java

UDF to store data into a DB

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



[jira] Updated: (PIG-1229) allow pig to write output into a JDBC db

2010-02-08 Thread Ian Holsman (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Holsman updated PIG-1229:
-

Attachment: DbStorage.java

 allow pig to write output into a JDBC db
 

 Key: PIG-1229
 URL: https://issues.apache.org/jira/browse/PIG-1229
 Project: Pig
  Issue Type: New Feature
  Components: impl
Reporter: Ian Holsman
Priority: Minor
 Attachments: DbStorage.java


 UDF to store data into a DB

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



[jira] Created: (PIG-536) the shell script 'pig' does not work if PIG_HOME has the word 'hadoop' in it's directory, and pig script is missing in the types branch

2008-11-17 Thread Ian Holsman (JIRA)
the shell script 'pig' does not work if PIG_HOME has the word 'hadoop' in it's 
directory, and pig script is missing in the types branch
---

 Key: PIG-536
 URL: https://issues.apache.org/jira/browse/PIG-536
 Project: Pig
  Issue Type: Bug
  Components: grunt
Affects Versions: 0.1.0
Reporter: Ian Holsman


ran into this one today when running from user 'hadoop' whoose home directory 
is /home/hadoop/

also for some reason this script isn't in the pig-types branch..


Index: bin/pig
===
--- bin/pig (revision 711801)
+++ bin/pig (working copy)
@@ -124,7 +124,8 @@
 # libraries in the lib dir, so don't blindly add them all.Only add the one
 # that matche PIG_HADOOP_VERSION.
 for f in $PIG_HOME/lib/*.jar; do
-IS_HADOOP=`echo $f | grep hadoop`
+FILENAME=`basename $f`
+IS_HADOOP=`echo $FILENAME | grep hadoop`
 if [ ${IS_HADOOP}x == x ]; then
 CLASSPATH=${CLASSPATH}:$f;
 else 

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



[jira] Updated: (PIG-535) new grunt command rmf (rm -f )

2008-11-16 Thread Ian Holsman (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Holsman updated PIG-535:


Attachment: rmf.patch

patch to add a new command 'rmf'

(types branch)

 new grunt command rmf (rm -f )
 --

 Key: PIG-535
 URL: https://issues.apache.org/jira/browse/PIG-535
 Project: Pig
  Issue Type: New Feature
  Components: grunt
Affects Versions: types_branch
Reporter: Ian Holsman
Priority: Minor
 Fix For: types_branch

 Attachments: rmf.patch


 currently there is no way to ignore if a file isn't present when you try to 
 remove it.
 this can be painful if you restart jobs halfway because of failure.
 rmf will ignore files that don't exist, similar to how rm -f works.
 my java-parser foo is even weaker than my java skills, so there may be a 
 better way of implementing this

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



[jira] Updated: (PIG-535) new grunt command rmf (rm -f )

2008-11-16 Thread Ian Holsman (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Holsman updated PIG-535:


Attachment: rmf.patch

patch to introduce the rmf command.
the last patch contained junk from other changes in my tree

 new grunt command rmf (rm -f )
 --

 Key: PIG-535
 URL: https://issues.apache.org/jira/browse/PIG-535
 Project: Pig
  Issue Type: New Feature
  Components: grunt
Affects Versions: types_branch
Reporter: Ian Holsman
Priority: Minor
 Fix For: types_branch

 Attachments: rmf.patch


 currently there is no way to ignore if a file isn't present when you try to 
 remove it.
 this can be painful if you restart jobs halfway because of failure.
 rmf will ignore files that don't exist, similar to how rm -f works.
 my java-parser foo is even weaker than my java skills, so there may be a 
 better way of implementing this

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



[jira] Created: (PIG-533) DBloader UDF (initial prototype)

2008-11-15 Thread Ian Holsman (JIRA)
DBloader UDF (initial prototype)


 Key: PIG-533
 URL: https://issues.apache.org/jira/browse/PIG-533
 Project: Pig
  Issue Type: New Feature
Reporter: Ian Holsman
Priority: Minor


This is an initial prototype of a UDF that can insert data into a database 
directly from Pig.


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