[jira] [Commented] (HIVE-2698) Enable Hadoop-1.0.0 in Hive

2012-01-24 Thread jack su (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192738#comment-13192738
 ] 

jack su commented on HIVE-2698:
---

Thanks all for help.

I guess I am just not lucky. I tried from the root path of hive, hadoop, and 
parent folder of those two directories. I got the same "can't find file to 
patch at input line 5"

~/hive-0.8.0$ patch -p1 < HIVE-2698_v3.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|diff --git a/build-common.xml b/build-common.xml
|index a746966..7b652cf 100644
|--- a/build-common.xml
|+++ b/build-common.xml
--

I also tried -p0, the same result

Any more suggestions?


> Enable Hadoop-1.0.0 in Hive
> ---
>
> Key: HIVE-2698
> URL: https://issues.apache.org/jira/browse/HIVE-2698
> Project: Hive
>  Issue Type: New Feature
>  Components: Security, Shims
>Affects Versions: 0.9.0
>Reporter: Enis Soztutar
>Assignee: Enis Soztutar
>  Labels: hadoop, hadoop-1.0, jars
> Attachments: HIVE-2698.D1389.1.patch, HIVE-2698_v1.patch, 
> HIVE-2698_v2.patch, HIVE-2698_v3.patch
>
>
> Hadoop-1.0.0 is recently released, which is AFAIK, API compatible to the 
> 0.20S release. 

--
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] (HIVE-2698) Enable Hadoop-1.0.0 in Hive

2012-01-23 Thread jack su (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191660#comment-13191660
 ] 

jack su commented on HIVE-2698:
---

I ran with patch -p1 < ./HIVE-2698_v3.patch, and seeing the following error 
message:

patch -p1 < HIVE-2698_v3.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|diff --git a/build-common.xml b/build-common.xml
|index a746966..7b652cf 100644
|--- a/build-common.xml
|+++ b/build-common.xml
--
File to patch: 



The following is the first 10 lines of HIVE-2698_v3.patch
diff --git a/build-common.xml b/build-common.xml
index a746966..7b652cf 100644
--- a/build-common.xml
+++ b/build-common.xml
@@ -160,6 +160,12 @@
 
 
 
+
+  


I am not seeing directory a, or b. But I see build-common.xml under src 
directory. 

Thanks.

> Enable Hadoop-1.0.0 in Hive
> ---
>
> Key: HIVE-2698
> URL: https://issues.apache.org/jira/browse/HIVE-2698
> Project: Hive
>  Issue Type: New Feature
>  Components: Security, Shims
>Affects Versions: 0.9.0
>Reporter: Enis Soztutar
>Assignee: Enis Soztutar
>  Labels: hadoop, hadoop-1.0, jars
> Attachments: HIVE-2698_v1.patch, HIVE-2698_v2.patch, 
> HIVE-2698_v3.patch
>
>
> Hadoop-1.0.0 is recently released, which is AFAIK, API compatible to the 
> 0.20S release. 

--
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] (HIVE-2698) Enable Hadoop-1.0.0 in Hive

2012-01-20 Thread jack su (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190302#comment-13190302
 ] 

jack su commented on HIVE-2698:
---

I am not sure how to run the patch. I tried to run it as executable, I am 
seeing:
~/hive-0.8.0$ ./HIVE-2698_v3.patch 
diff: unrecognized option '--git'
diff: Try `diff --help' for more information.
./HIVE-2698_v3.patch: line 2: index: command not found
./HIVE-2698_v3.patch: line 3: ---: command not found
./HIVE-2698_v3.patch: line 4: +++: command not found
./HIVE-2698_v3.patch: line 5: @@: command not found
./HIVE-2698_v3.patch: line 6: syntax error near unexpected token `newline'
./HIVE-2698_v3.patch: line 6: ` '

This is my diff info:
diff -version
diff (GNU diffutils) 3.0
Copyright (C) 2010 Free Software Foundation, Inc.

Thanks.


> Enable Hadoop-1.0.0 in Hive
> ---
>
> Key: HIVE-2698
> URL: https://issues.apache.org/jira/browse/HIVE-2698
> Project: Hive
>  Issue Type: New Feature
>  Components: Security, Shims
>Affects Versions: 0.9.0
>Reporter: Enis Soztutar
>Assignee: Enis Soztutar
>  Labels: hadoop, hadoop-1.0, jars
> Attachments: HIVE-2698_v1.patch, HIVE-2698_v2.patch, 
> HIVE-2698_v3.patch
>
>
> Hadoop-1.0.0 is recently released, which is AFAIK, API compatible to the 
> 0.20S release. 

--
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