[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-23 Thread Ashutosh Chauhan (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13717507#comment-13717507
 ] 

Ashutosh Chauhan commented on HIVE-4900:


I see. Than is this sufficient for us to upgrade to DN 3.x ? If yes, than it 
seems there is no need to Db upgrade (atleast for mysql). Is that correct?

 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.1.patch, HIVE-4900.2.patch, HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-23 Thread Xuefu Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13717530#comment-13717530
 ] 

Xuefu Zhang commented on HIVE-4900:
---

That's correct. I don't think any upgrade is needed for the purpose of DN 
upgrade and HIVE-4900.2.patch is needed for that.

As mentioned in 2084, there needs an upgrade for comment column for table  
TYPE_FIELDS and COLUMNS_V2, which needs to be brought up from current 256 to 
4000. I'll create a separate JIRA for that, as it's irrelevant to DN upgrade.

 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.1.patch, HIVE-4900.2.patch, HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-23 Thread Ashutosh Chauhan (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13717545#comment-13717545
 ] 

Ashutosh Chauhan commented on HIVE-4900:


Make sense. Lets limit this jira for this fix only. This looks good to me. Do 
you plan to run more tests or is this ready to get in?

 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.1.patch, HIVE-4900.2.patch, HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-23 Thread Ashutosh Chauhan (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13717557#comment-13717557
 ] 

Ashutosh Chauhan commented on HIVE-4900:


Cool. +1 

 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.1.patch, HIVE-4900.2.patch, HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-23 Thread Xuefu Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13717555#comment-13717555
 ] 

Xuefu Zhang commented on HIVE-4900:
---

I completed my testing and I think it's ready.

 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.1.patch, HIVE-4900.2.patch, HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-21 Thread Xuefu Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714725#comment-13714725
 ] 

Xuefu Zhang commented on HIVE-4900:
---

I'm not sure the test error is transient or having something to do with my 
change, given that fact that error happens at test cleanup time. Anyone has any 
thought? Thanks.

 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-21 Thread Brock Noland (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714726#comment-13714726
 ] 

Brock Noland commented on HIVE-4900:


Pretty sure it's flaky. I have a similar test over in HIVE-4851. You could 
upload the patch again for a second run.

 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-21 Thread Edward Capriolo (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714754#comment-13714754
 ] 

Edward Capriolo commented on HIVE-4900:
---

I have hive 10.0

My tables contains a table named 


 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-21 Thread Xuefu Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714820#comment-13714820
 ] 

Xuefu Zhang commented on HIVE-4900:
---

[~appodictic] Mysql 0.10 schema file doesn't create SORT_ORDER either. I think 
MOrder-SORT_ORDER definition there is redundant, it can be probably removed 
safely. Also, it's declared as embedded-only=true, so there should be no 
standalone objects mapped to that table. I didn't spend much time on this as my 
effort is about HIVE-3632. I can create a different JIRA for that. I modified 
the column name just in order to be consistent with MOrder O-R mapping later 
defined in SDS, which I could have spared.

 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-21 Thread Edward Capriolo (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714855#comment-13714855
 ] 

Edward Capriolo commented on HIVE-4900:
---

[~xuefuz] Thank you for answering that. I do not know much about this piece so 
I was just doing what I could to double-check to make sure the mappings were 
correct. If you do not think we need it we should remove it, if the embedded 
mode needs it the tests should tell us as such.

 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4900) Fix the mismatched column names in package.jdo

2013-07-20 Thread Hive QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13714626#comment-13714626
 ] 

Hive QA commented on HIVE-4900:
---



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12593356/HIVE-4900.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 2646 tests executed
*Failed tests:*
{noformat}
org.apache.hcatalog.pig.TestHCatLoader.testReadPartitionedBasic
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/116/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/116/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.CleanupPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests failed with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

 Fix the mismatched column names in package.jdo
 --

 Key: HIVE-4900
 URL: https://issues.apache.org/jira/browse/HIVE-4900
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.10.0, 0.11.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
 Fix For: 0.12.0

 Attachments: HIVE-4900.patch


 There are several errors in DataNucleus O-R mapping file, package.jdo, which 
 are not complained by the existing DN version. These errors may be subject to 
 future DN complaint (as experienced in HIVE-3632 and HIVE-2084). However, it 
 is still better if we fix these errors as it also creates some confusion in 
 the community.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira