[jira] [Updated] (PIG-4823) SparkMiniCluster does not cleanup old conf files during setup

2016-03-04 Thread Xuefu Zhang (JIRA)

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

Xuefu Zhang updated PIG-4823:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed to Spark branch. Thanks, Pallavi.

> SparkMiniCluster does not cleanup old conf files during setup
> -
>
> Key: PIG-4823
> URL: https://issues.apache.org/jira/browse/PIG-4823
> Project: Pig
>  Issue Type: Sub-task
>  Components: spark
>Reporter: Pallavi Rao
>Assignee: Pallavi Rao
>  Labels: spork
> Fix For: spark-branch
>
> Attachments: PIG-4823.patch
>
>
> If some of the tests fail or get killed, new tests will use the old hadoop 
> conf files left behind by the previous tests, causing the following failure:
> {noformat}
> Caused by: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Could not 
> create staging directory. 
>   at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:165)
>   at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>   at 
> org.apache.pig.test.SparkMiniCluster.setupMiniDfsAndMrClusters(SparkMiniCluster.java:93)
>   at 
> org.apache.pig.test.MiniGenericCluster.buildCluster(MiniGenericCluster.java:86)
>   at 
> org.apache.pig.test.MiniGenericCluster.buildCluster(MiniGenericCluster.java:68)
>   at 
> org.apache.pig.test.TestToolsPigServer.(TestToolsPigServer.java:42)
>   at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
>   at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:791)
>   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:731)
>   at org.apache.hadoop.ipc.Client.call(Client.java:1472)
>   at org.apache.hadoop.ipc.Client.call(Client.java:1399)
>   at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
>   at com.sun.proxy.$Proxy15.mkdirs(Unknown Source)
>   at 
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.mkdirs(ClientNamenodeProtocolTranslatorPB.java:539)
>   at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
>   at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
>   at com.sun.proxy.$Proxy16.mkdirs(Unknown Source)
>   at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:2753)
>   at org.apache.hadoop.fs.Hdfs.mkdir(Hdfs.java:311)
>   at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:724)
>   at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:720)
>   at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
>   at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:720)
>   at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:163)
> Caused by: java.net.ConnectException: Connection refused
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PIG-4823) SparkMiniCluster does not cleanup old conf files during setup

2016-03-03 Thread Pallavi Rao (JIRA)

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

Pallavi Rao updated PIG-4823:
-
Attachment: (was: PIG-4823.patch)

> SparkMiniCluster does not cleanup old conf files during setup
> -
>
> Key: PIG-4823
> URL: https://issues.apache.org/jira/browse/PIG-4823
> Project: Pig
>  Issue Type: Sub-task
>  Components: spark
>Reporter: Pallavi Rao
>Assignee: Pallavi Rao
>  Labels: spork
> Fix For: spark-branch
>
> Attachments: PIG-4823.patch
>
>
> If some of the tests fail or get killed, new tests will use the old hadoop 
> conf files left behind by the previous tests, causing the following failure:
> {noformat}
> Caused by: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Could not 
> create staging directory. 
>   at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:165)
>   at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>   at 
> org.apache.pig.test.SparkMiniCluster.setupMiniDfsAndMrClusters(SparkMiniCluster.java:93)
>   at 
> org.apache.pig.test.MiniGenericCluster.buildCluster(MiniGenericCluster.java:86)
>   at 
> org.apache.pig.test.MiniGenericCluster.buildCluster(MiniGenericCluster.java:68)
>   at 
> org.apache.pig.test.TestToolsPigServer.(TestToolsPigServer.java:42)
>   at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
>   at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:791)
>   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:731)
>   at org.apache.hadoop.ipc.Client.call(Client.java:1472)
>   at org.apache.hadoop.ipc.Client.call(Client.java:1399)
>   at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
>   at com.sun.proxy.$Proxy15.mkdirs(Unknown Source)
>   at 
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.mkdirs(ClientNamenodeProtocolTranslatorPB.java:539)
>   at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
>   at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
>   at com.sun.proxy.$Proxy16.mkdirs(Unknown Source)
>   at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:2753)
>   at org.apache.hadoop.fs.Hdfs.mkdir(Hdfs.java:311)
>   at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:724)
>   at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:720)
>   at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
>   at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:720)
>   at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:163)
> Caused by: java.net.ConnectException: Connection refused
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PIG-4823) SparkMiniCluster does not cleanup old conf files during setup

2016-03-03 Thread Pallavi Rao (JIRA)

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

Pallavi Rao updated PIG-4823:
-
Labels: spork  (was: )
Status: Patch Available  (was: Open)

[~kellyzly], [~mohitsabharwal], please review.

> SparkMiniCluster does not cleanup old conf files during setup
> -
>
> Key: PIG-4823
> URL: https://issues.apache.org/jira/browse/PIG-4823
> Project: Pig
>  Issue Type: Sub-task
>  Components: spark
>Reporter: Pallavi Rao
>Assignee: Pallavi Rao
>  Labels: spork
> Fix For: spark-branch
>
> Attachments: PIG-4823.patch
>
>
> If some of the tests fail or get killed, new tests will use the old hadoop 
> conf files left behind by the previous tests, causing the following failure:
> {noformat}
> Caused by: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Could not 
> create staging directory. 
>   at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:165)
>   at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>   at 
> org.apache.pig.test.SparkMiniCluster.setupMiniDfsAndMrClusters(SparkMiniCluster.java:93)
>   at 
> org.apache.pig.test.MiniGenericCluster.buildCluster(MiniGenericCluster.java:86)
>   at 
> org.apache.pig.test.MiniGenericCluster.buildCluster(MiniGenericCluster.java:68)
>   at 
> org.apache.pig.test.TestToolsPigServer.(TestToolsPigServer.java:42)
>   at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
>   at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:791)
>   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:731)
>   at org.apache.hadoop.ipc.Client.call(Client.java:1472)
>   at org.apache.hadoop.ipc.Client.call(Client.java:1399)
>   at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
>   at com.sun.proxy.$Proxy15.mkdirs(Unknown Source)
>   at 
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.mkdirs(ClientNamenodeProtocolTranslatorPB.java:539)
>   at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
>   at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
>   at com.sun.proxy.$Proxy16.mkdirs(Unknown Source)
>   at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:2753)
>   at org.apache.hadoop.fs.Hdfs.mkdir(Hdfs.java:311)
>   at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:724)
>   at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:720)
>   at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
>   at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:720)
>   at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:163)
> Caused by: java.net.ConnectException: Connection refused
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PIG-4823) SparkMiniCluster does not cleanup old conf files during setup

2016-03-03 Thread Pallavi Rao (JIRA)

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

Pallavi Rao updated PIG-4823:
-
Attachment: PIG-4823.patch

Single line change. No RB request.

> SparkMiniCluster does not cleanup old conf files during setup
> -
>
> Key: PIG-4823
> URL: https://issues.apache.org/jira/browse/PIG-4823
> Project: Pig
>  Issue Type: Sub-task
>  Components: spark
>Reporter: Pallavi Rao
>Assignee: Pallavi Rao
> Fix For: spark-branch
>
> Attachments: PIG-4823.patch, PIG-4823.patch
>
>
> If some of the tests fail or get killed, new tests will use the old hadoop 
> conf files left behind by the previous tests, causing the following failure:
> {noformat}
> Caused by: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Could not 
> create staging directory. 
>   at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:165)
>   at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>   at 
> org.apache.pig.test.SparkMiniCluster.setupMiniDfsAndMrClusters(SparkMiniCluster.java:93)
>   at 
> org.apache.pig.test.MiniGenericCluster.buildCluster(MiniGenericCluster.java:86)
>   at 
> org.apache.pig.test.MiniGenericCluster.buildCluster(MiniGenericCluster.java:68)
>   at 
> org.apache.pig.test.TestToolsPigServer.(TestToolsPigServer.java:42)
>   at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
>   at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:791)
>   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:731)
>   at org.apache.hadoop.ipc.Client.call(Client.java:1472)
>   at org.apache.hadoop.ipc.Client.call(Client.java:1399)
>   at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
>   at com.sun.proxy.$Proxy15.mkdirs(Unknown Source)
>   at 
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.mkdirs(ClientNamenodeProtocolTranslatorPB.java:539)
>   at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
>   at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
>   at com.sun.proxy.$Proxy16.mkdirs(Unknown Source)
>   at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:2753)
>   at org.apache.hadoop.fs.Hdfs.mkdir(Hdfs.java:311)
>   at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:724)
>   at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:720)
>   at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
>   at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:720)
>   at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:163)
> Caused by: java.net.ConnectException: Connection refused
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PIG-4823) SparkMiniCluster does not cleanup old conf files during setup

2016-03-03 Thread Pallavi Rao (JIRA)

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

Pallavi Rao updated PIG-4823:
-
Attachment: PIG-4823.patch

Single line change. No RB request.

> SparkMiniCluster does not cleanup old conf files during setup
> -
>
> Key: PIG-4823
> URL: https://issues.apache.org/jira/browse/PIG-4823
> Project: Pig
>  Issue Type: Sub-task
>  Components: spark
>Reporter: Pallavi Rao
>Assignee: Pallavi Rao
> Fix For: spark-branch
>
> Attachments: PIG-4823.patch
>
>
> If some of the tests fail or get killed, new tests will use the old hadoop 
> conf files left behind by the previous tests, causing the following failure:
> {noformat}
> Caused by: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Could not 
> create staging directory. 
>   at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:165)
>   at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>   at 
> org.apache.pig.test.SparkMiniCluster.setupMiniDfsAndMrClusters(SparkMiniCluster.java:93)
>   at 
> org.apache.pig.test.MiniGenericCluster.buildCluster(MiniGenericCluster.java:86)
>   at 
> org.apache.pig.test.MiniGenericCluster.buildCluster(MiniGenericCluster.java:68)
>   at 
> org.apache.pig.test.TestToolsPigServer.(TestToolsPigServer.java:42)
>   at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
>   at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:791)
>   at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:731)
>   at org.apache.hadoop.ipc.Client.call(Client.java:1472)
>   at org.apache.hadoop.ipc.Client.call(Client.java:1399)
>   at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
>   at com.sun.proxy.$Proxy15.mkdirs(Unknown Source)
>   at 
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.mkdirs(ClientNamenodeProtocolTranslatorPB.java:539)
>   at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
>   at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
>   at com.sun.proxy.$Proxy16.mkdirs(Unknown Source)
>   at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:2753)
>   at org.apache.hadoop.fs.Hdfs.mkdir(Hdfs.java:311)
>   at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:724)
>   at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:720)
>   at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
>   at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:720)
>   at 
> org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:163)
> Caused by: java.net.ConnectException: Connection refused
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)