[ https://issues.apache.org/jira/browse/HADOOP-9493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira Ajisaka resolved HADOOP-9493. ----------------------------------- Fix Version/s: (was: 1.1.2) Resolution: Won't Fix branch-1 is EoL. Closing. > Replace popen2 module with subprocess in HOD to eliminate deprecation warning > ----------------------------------------------------------------------------- > > Key: HADOOP-9493 > URL: https://issues.apache.org/jira/browse/HADOOP-9493 > Project: Hadoop Common > Issue Type: Improvement > Components: contrib/hod > Affects Versions: 1.1.2 > Environment: RHEL6.4 and Python 2.6.6 > Reporter: Jonathan Barber > Priority: Minor > Attachments: HADOOP-9493.patch, HADOOP-9493.patch > > > Python 2.6.6 issues the following warning when running the "hod" command: > """ > /homes/jbarber/hadoop-1.1.2/contrib/hod/hodlib/Common/threads.py:19: > DeprecationWarning: The popen2 module is deprecated. Use the subprocess > module. > from popen2 import Popen4, Popen3, MAXFD > """ > The popen2 module was deprecated in Python 2.6. > The attached patch replaces the usage of popen2 with the subprocess module. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org