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

Masahiro Tanaka edited comment on AMBARI-18126 at 8/16/16 4:51 AM:
-------------------------------------------------------------------

Thank you for checking. I used {{dev-support/docker/docker/Dockerfile}} with 
Java 7.
(BTW, there is a bug in the Dockerfile which I made. If you want to try this, 
please change line 28 to {{RUN wget --no-check-certificate --no-cookies 
--header "Cookie:oraclelicense=accept-securebackup-cookie" 
http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.rpm -O 
jdk-7u55-linux-x64.rpm}}. Sorry for inconvenience.) 

I ran {{mvn clean compile}}, and yes, it worked well as you wrote.
But when I ran {{mvn clean install package rpm:rpm -DskipTests}} from Ambari 
root directory, I got the error above.

{code}
[root@e18b03aaa58f ambari]# mvn --version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 
13:51:28+0000)
Maven home: /opt/maven/apache-maven-3.0.5
Java version: 1.7.0_55, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_55/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-327.22.2.el7.x86_64", arch: "amd64", family: 
"unix"
{code}


was (Author: masatana):
Thnak you for checking. I used {{dev-support/docker/docker/Dockerfile}} with 
Java 7.
(BTW, there is a bug in the Dockerfile which I made. If you want to try this, 
please change line 28 to {{RUN wget --no-check-certificate --no-cookies 
--header "Cookie:oraclelicense=accept-securebackup-cookie" 
http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.rpm -O 
jdk-7u55-linux-x64.rpm}}. Sorry for inconvenience.) 

I ran {{mvn clean compile}}, and yes, it worked well as you wrote.
But when I ran {{mvn clean install package rpm:rpm -DskipTests}} from Ambari 
root directory, I got the error above.

{code}
[root@e18b03aaa58f ambari]# mvn --version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 
13:51:28+0000)
Maven home: /opt/maven/apache-maven-3.0.5
Java version: 1.7.0_55, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_55/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-327.22.2.el7.x86_64", arch: "amd64", family: 
"unix"
{code}

> Refactor Configuration To Allow For Generation Of Documentation
> ---------------------------------------------------------------
>
>                 Key: AMBARI-18126
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18126
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: trunk
>
>         Attachments: AMBARI-18126.patch
>
>
> As part of the work for AMBARI-18089, all of the potential properties from 
> {{ambari.properties}} need a way to be organized and queried in order to 
> generate documentation. 
> This Jira proposes to change our disorganized String/String (key/default) 
> structure found in {{Configuration}}, and instead, have a strongly-coupled 
> relationship between key/default/type. 
> Additionally, expose a way to provide extra information in the markdown 
> (similar to JavaDoc, but geared more for users and not developers).



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

Reply via email to