[jira] [Commented] (HIVE-15556) Replicate views

2017-03-08 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-15556:




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

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/4025/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/4025/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-4025/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit 
status 1 and output '+ date '+%Y-%m-%d %T.%3N'
2017-03-08 21:27:16.066
+ [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]]
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ export 
PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ 
PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'MAVEN_OPTS=-Xmx1g '
+ MAVEN_OPTS='-Xmx1g '
+ cd /data/hiveptest/working/
+ tee /data/hiveptest/logs/PreCommit-HIVE-Build-4025/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z master ]]
+ [[ -d apache-github-source-source ]]
+ [[ ! -d apache-github-source-source/.git ]]
+ [[ ! -d apache-github-source-source ]]
+ date '+%Y-%m-%d %T.%3N'
2017-03-08 21:27:16.068
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
   0cc1afa..1321293  master -> origin/master
+ git reset --hard HEAD
HEAD is now at 0cc1afa HIVE-16078 : improve abort checking in Tez/LLAP (Sergey 
Shelukhin, reviewed by Rajesh Balamohan, Siddharth Seth)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at 1321293 HIVE-15903: Compute table stats when user computes 
column stats (Pengcheng Xiong, reviewed by Ashutosh Chauhan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2017-03-08 21:27:17.612
+ patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hiveptest/working/scratch/build.patch
+ [[ -f /data/hiveptest/working/scratch/build.patch ]]
+ chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh
+ /data/hiveptest/working/scratch/smart-apply-patch.sh 
/data/hiveptest/working/scratch/build.patch
Going to apply patch with: patch -p0
patching file 
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/TestReplicationScenarios.java
patching file ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java
patching file ql/src/java/org/apache/hadoop/hive/ql/parse/EximUtil.java
patching file 
ql/src/java/org/apache/hadoop/hive/ql/parse/ExportSemanticAnalyzer.java
patching file 
ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java
patching file ql/src/java/org/apache/hadoop/hive/ql/plan/CreateViewDesc.java
patching file ql/src/java/org/apache/hadoop/hive/ql/plan/ImportTableDesc.java
+ [[ maven == \m\a\v\e\n ]]
+ rm -rf /data/hiveptest/working/maven/org/apache/hive
+ mvn -B clean install -DskipTests -T 4 -q 
-Dmaven.repo.local=/data/hiveptest/working/maven
ANTLR Parser Generator  Version 3.5.2
Output file 
/data/hiveptest/working/apache-github-source-source/metastore/target/generated-sources/antlr3/org/apache/hadoop/hive/metastore/parser/FilterParser.java
 does not exist: must build 
/data/hiveptest/working/apache-github-source-source/metastore/src/java/org/apache/hadoop/hive/metastore/parser/Filter.g
org/apache/hadoop/hive/metastore/parser/Filter.g
DataNucleus Enhancer (version 4.1.17) for API "JDO"
DataNucleus Enhancer : Classpath
>>  /usr/share/maven/boot/plexus-classworlds-2.x.jar
ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MDatabase
ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MFieldSchema
ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MType
ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MTable
ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MConstraint
ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MSerDeInfo
ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MOrder
ENHANCED (Persistable) : 
org.apache.hadoop.hive.metastore.model.MColumnDescriptor
ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MStringList
ENHANCED 

[jira] [Commented] (HIVE-15556) Replicate views

2017-03-08 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on HIVE-15556:
---

GitHub user sankarh opened a pull request:

https://github.com/apache/hive/pull/156

HIVE-15556: Replicate Views

Support replication on views

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/sankarh/hive HIVE-15556

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/hive/pull/156.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #156


commit b09b777ced1fb23006cdc76d0348a57f083b5a7b
Author: Sankar Hariappan 
Date:   2017-03-06T08:23:16Z

HIVE-15556: Replicate Views




> Replicate views
> ---
>
> Key: HIVE-15556
> URL: https://issues.apache.org/jira/browse/HIVE-15556
> Project: Hive
>  Issue Type: Sub-task
>  Components: repl
>Reporter: Vaibhav Gumashta
>Assignee: Sankar Hariappan
> Attachments: HIVE-15556.01.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HIVE-15556) Replicate views

2017-03-15 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-15556:




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

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 10352 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[subquery_select_complex_expr]
 (batchId=86)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/4155/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/4155/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-4155/

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

This message is automatically generated.

ATTACHMENT ID: 12858854 - PreCommit-HIVE-Build

> Replicate views
> ---
>
> Key: HIVE-15556
> URL: https://issues.apache.org/jira/browse/HIVE-15556
> Project: Hive
>  Issue Type: Sub-task
>  Components: repl
>Reporter: Vaibhav Gumashta
>Assignee: Sankar Hariappan
> Attachments: HIVE-15556.01.patch, HIVE-15556.02.patch, 
> HIVE-15556.03.patch, HIVE-15556.04.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HIVE-15556) Replicate views

2017-03-15 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-15556:




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

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 10352 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/4157/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/4157/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-4157/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12858854 - PreCommit-HIVE-Build

> Replicate views
> ---
>
> Key: HIVE-15556
> URL: https://issues.apache.org/jira/browse/HIVE-15556
> Project: Hive
>  Issue Type: Sub-task
>  Components: repl
>Reporter: Vaibhav Gumashta
>Assignee: Sankar Hariappan
> Attachments: HIVE-15556.01.patch, HIVE-15556.02.patch, 
> HIVE-15556.03.patch, HIVE-15556.04.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HIVE-15556) Replicate views

2017-03-15 Thread Sushanth Sowmyan (JIRA)

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

Sushanth Sowmyan commented on HIVE-15556:
-

+1. Looks good to me. Thanks, [~sankarh]!

> Replicate views
> ---
>
> Key: HIVE-15556
> URL: https://issues.apache.org/jira/browse/HIVE-15556
> Project: Hive
>  Issue Type: Sub-task
>  Components: repl
>Reporter: Vaibhav Gumashta
>Assignee: Sankar Hariappan
> Attachments: HIVE-15556.01.patch, HIVE-15556.02.patch, 
> HIVE-15556.03.patch, HIVE-15556.04.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HIVE-15556) Replicate views

2017-03-15 Thread Sushanth Sowmyan (JIRA)

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

Sushanth Sowmyan commented on HIVE-15556:
-

Committed .04.patch to master.

> Replicate views
> ---
>
> Key: HIVE-15556
> URL: https://issues.apache.org/jira/browse/HIVE-15556
> Project: Hive
>  Issue Type: Sub-task
>  Components: repl
>Reporter: Vaibhav Gumashta
>Assignee: Sankar Hariappan
> Fix For: 2.2.0
>
> Attachments: HIVE-15556.01.patch, HIVE-15556.02.patch, 
> HIVE-15556.03.patch, HIVE-15556.04.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HIVE-15556) Replicate views

2017-03-15 Thread Sankar Hariappan (JIRA)

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

Sankar Hariappan commented on HIVE-15556:
-

Thanks, [~sushanth] for the commit!

> Replicate views
> ---
>
> Key: HIVE-15556
> URL: https://issues.apache.org/jira/browse/HIVE-15556
> Project: Hive
>  Issue Type: Sub-task
>  Components: repl
>Reporter: Vaibhav Gumashta
>Assignee: Sankar Hariappan
> Fix For: 2.2.0
>
> Attachments: HIVE-15556.01.patch, HIVE-15556.02.patch, 
> HIVE-15556.03.patch, HIVE-15556.04.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HIVE-15556) Replicate views

2017-03-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on HIVE-15556:
---

Github user sankarh closed the pull request at:

https://github.com/apache/hive/pull/156


> Replicate views
> ---
>
> Key: HIVE-15556
> URL: https://issues.apache.org/jira/browse/HIVE-15556
> Project: Hive
>  Issue Type: Sub-task
>  Components: repl
>Reporter: Vaibhav Gumashta
>Assignee: Sankar Hariappan
> Fix For: 2.2.0
>
> Attachments: HIVE-15556.01.patch, HIVE-15556.02.patch, 
> HIVE-15556.03.patch, HIVE-15556.04.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HIVE-15556) Replicate views

2017-04-02 Thread Sushanth Sowmyan (JIRA)

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

Sushanth Sowmyan commented on HIVE-15556:
-

Changed fix version to 2.3.0 per current meaning of branch-2 corresponding to 
2.3.0 and branch-2.2 being a stabilization effort on top of 2.1

> Replicate views
> ---
>
> Key: HIVE-15556
> URL: https://issues.apache.org/jira/browse/HIVE-15556
> Project: Hive
>  Issue Type: Sub-task
>  Components: repl
>Reporter: Vaibhav Gumashta
>Assignee: Sankar Hariappan
> Fix For: 2.3.0
>
> Attachments: HIVE-15556.01.patch, HIVE-15556.02.patch, 
> HIVE-15556.03.patch, HIVE-15556.04.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)