Di Li created AMBARI-19140:
------------------------------

             Summary: Ambari Server symbolic links has double // when root dir 
is just /
                 Key: AMBARI-19140
                 URL: https://issues.apache.org/jira/browse/AMBARI-19140
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: trunk, 2.5.0
            Reporter: Di Li
            Assignee: Di Li


Notice the "//" in the symbolic link , where it could have been trimmed to be 
just one leading "/"

[root]# ll /usr/sbin/ambari-server
lrwxrwxrwx 1 root root 26 Dec  5 11:27 /usr/sbin/ambari-server -> 
//etc/init.d/ambari-server
[root]# clear
[root]# ll
total 20
drwxrwxr-x 4 root root   8192 Dec  5 11:32 ambari_agent
lrwxrwxrwx 1 root root     42 Dec  5 11:27 ambari_commons -> 
//usr/lib/ambari-server/lib/ambari_commons
lrwxrwxrwx 1 root root     41 Dec  5 11:27 ambari_jinja2 -> 
//usr/lib/ambari-server/lib/ambari_jinja2
drwxrwxr-x 2 root root   4096 Dec  5 11:28 ambari_server
lrwxrwxrwx 1 root root     45 Dec  5 11:27 ambari_simplejson -> 
//usr/lib/ambari-server/lib/ambari_simplejson
lrwxrwxrwx 1 root root     47 Dec  5 11:27 resource_management -> 
//usr/lib/ambari-server/lib/resource_management
drwxr-xr-x 5 ams  hadoop   83 Dec  6 09:26 resource_monitoring




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

Reply via email to