[jira] [Commented] (HADOOP-9878) getting rid of all the 'bin/../' from all the paths

2013-08-26 Thread kaveh minooie (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-9878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13750806#comment-13750806
 ] 

kaveh minooie commented on HADOOP-9878:
---

it is done in 2.1.0

 getting rid of all the 'bin/../' from all the paths
 ---

 Key: HADOOP-9878
 URL: https://issues.apache.org/jira/browse/HADOOP-9878
 Project: Hadoop Common
  Issue Type: Improvement
  Components: conf
Reporter: kaveh minooie
Priority: Trivial
 Fix For: 2.1.0-beta

   Original Estimate: 1m
  Remaining Estimate: 1m

 by simply replacing line 34 of libexec/hadoop-config.sh from:
 {quote}
 export HADOOP_PREFIX=`dirname $this`/..
 {quote}
 to 
 {quote}
 export HADOOP_PREFIX=$( cd $config_bin/..; pwd -P )
 {quote}
 we can eliminate all the annoying 'bin/../' from the library paths and make 
 the output of commands like ps a lot more readable. not to mention that OS  
 would do just a bit less work as well. I can post a patch for it as well if 
 it is needed

--
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] [Resolved] (HADOOP-9878) getting rid of all the 'bin/../' from all the paths

2013-08-26 Thread kaveh minooie (JIRA)

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

kaveh minooie resolved HADOOP-9878.
---

   Resolution: Fixed
Fix Version/s: 2.1.0-beta

 getting rid of all the 'bin/../' from all the paths
 ---

 Key: HADOOP-9878
 URL: https://issues.apache.org/jira/browse/HADOOP-9878
 Project: Hadoop Common
  Issue Type: Improvement
  Components: conf
Reporter: kaveh minooie
Priority: Trivial
 Fix For: 2.1.0-beta

   Original Estimate: 1m
  Remaining Estimate: 1m

 by simply replacing line 34 of libexec/hadoop-config.sh from:
 {quote}
 export HADOOP_PREFIX=`dirname $this`/..
 {quote}
 to 
 {quote}
 export HADOOP_PREFIX=$( cd $config_bin/..; pwd -P )
 {quote}
 we can eliminate all the annoying 'bin/../' from the library paths and make 
 the output of commands like ps a lot more readable. not to mention that OS  
 would do just a bit less work as well. I can post a patch for it as well if 
 it is needed

--
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] [Created] (HADOOP-9878) getting rid of all the 'bin/../' from all the paths

2013-08-15 Thread kaveh minooie (JIRA)
kaveh minooie created HADOOP-9878:
-

 Summary: getting rid of all the 'bin/../' from all the paths
 Key: HADOOP-9878
 URL: https://issues.apache.org/jira/browse/HADOOP-9878
 Project: Hadoop Common
  Issue Type: Improvement
  Components: conf
Reporter: kaveh minooie
Priority: Trivial


by simply replacing line 34 of libexec/hadoop-config.sh from:

export HADOOP_PREFIX=`dirname $this`/..

to 

export HADOOP_PREFIX=$( cd ${config_bin}/..; pwd -P )

we can eliminate all the annoying 'bin/../' from the library paths and make the 
output of commands like ps a lot more readable. not to mention that OS  would 
do just a bit less work as well. I can post a patch for it as well if it is 
needed


--
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] [Updated] (HADOOP-9878) getting rid of all the 'bin/../' from all the paths

2013-08-15 Thread kaveh minooie (JIRA)

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

kaveh minooie updated HADOOP-9878:
--

Description: 
by simply replacing line 34 of libexec/hadoop-config.sh from:

{quote}
export HADOOP_PREFIX=`dirname $this`/..
{quote}

to 
{quote}
export HADOOP_PREFIX=$( cd $config_bin/..; pwd -P )
{quote}

we can eliminate all the annoying 'bin/../' from the library paths and make the 
output of commands like ps a lot more readable. not to mention that OS  would 
do just a bit less work as well. I can post a patch for it as well if it is 
needed


  was:
by simply replacing line 34 of libexec/hadoop-config.sh from:

export HADOOP_PREFIX=`dirname $this`/..

to 

export HADOOP_PREFIX=$( cd ${config_bin}/..; pwd -P )

we can eliminate all the annoying 'bin/../' from the library paths and make the 
output of commands like ps a lot more readable. not to mention that OS  would 
do just a bit less work as well. I can post a patch for it as well if it is 
needed



 getting rid of all the 'bin/../' from all the paths
 ---

 Key: HADOOP-9878
 URL: https://issues.apache.org/jira/browse/HADOOP-9878
 Project: Hadoop Common
  Issue Type: Improvement
  Components: conf
Reporter: kaveh minooie
Priority: Trivial
   Original Estimate: 1m
  Remaining Estimate: 1m

 by simply replacing line 34 of libexec/hadoop-config.sh from:
 {quote}
 export HADOOP_PREFIX=`dirname $this`/..
 {quote}
 to 
 {quote}
 export HADOOP_PREFIX=$( cd $config_bin/..; pwd -P )
 {quote}
 we can eliminate all the annoying 'bin/../' from the library paths and make 
 the output of commands like ps a lot more readable. not to mention that OS  
 would do just a bit less work as well. I can post a patch for it as well if 
 it is needed

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