[jira] [Updated] (AMBARI-24744) Use Execution Command library (AMBARI-24712) in Ambari code base, wherever applicable.

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated AMBARI-24744:

Labels: pull-request-available  (was: )

> Use Execution Command library (AMBARI-24712) in Ambari code base, wherever 
> applicable.
> --
>
> Key: AMBARI-24744
> URL: https://issues.apache.org/jira/browse/AMBARI-24744
> Project: Ambari
>  Issue Type: Technical task
>  Components: ambari-server
>Reporter: Swapan Shridhar
>Assignee: Swapan Shridhar
>Priority: Major
>  Labels: pull-request-available
> Fix For: trunk, 2.8.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24765) Fix CVE issues for Log Search (2.7.3)

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24765:
-

asfgit commented on issue #8: AMBARI-24765. Fix CVE issues for Log Search
URL: https://github.com/apache/ambari-logsearch/pull/8#issuecomment-429178085
 
 
   
   Refer to this link for build results (access rights to CI server needed): 
   https://builds.apache.org/job/Ambari-LogSearch-Github-PR-Builder/13/
   Test PASSed.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Fix CVE issues for Log Search (2.7.3)
> -
>
> Key: AMBARI-24765
> URL: https://issues.apache.org/jira/browse/AMBARI-24765
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-logsearch
>Affects Versions: 2.7.1
>Reporter: Olivér Szabó
>Assignee: Olivér Szabó
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24763) Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24763:
-

asfgit commented on issue #5: AMBARI-24763. Infra Solr upgrade (2.7.x): 
ValueError: invalid literal for float():
URL: https://github.com/apache/ambari-infra/pull/5#issuecomment-429177047
 
 
   
   Refer to this link for build results (access rights to CI server needed): 
   https://builds.apache.org/job/Ambari-Infra-Github-PR-Builder/7/
   Test PASSed.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():
> 
>
> Key: AMBARI-24763
> URL: https://issues.apache.org/jira/browse/AMBARI-24763
> Project: Ambari
>  Issue Type: Bug
>Affects Versions: 2.7.0
>Reporter: Olivér Szabó
>Assignee: Olivér Szabó
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> exception:
> {code:java}
> File "/usr/lib/ambari-infra-solr-client/migrationHelper.py", line 951, in 
> parse_size 
> return int(float(number)*units[unit]) 
> ValueError: invalid literal for float(): 1,013.88 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24763) Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24763:
-

oleewere commented on a change in pull request #5: AMBARI-24763. Infra Solr 
upgrade (2.7.x): ValueError: invalid literal for float():
URL: https://github.com/apache/ambari-infra/pull/5#discussion_r224647332
 
 

 ##
 File path: ambari-infra-solr-client/src/main/python/migrationHelper.py
 ##
 @@ -946,9 +946,10 @@ def human_size(size_bytes):
   return "%s %s" % (formatted_size, suffix)
 
 def parse_size(human_size):
+  import locale
   units = {"bytes": 1, "KB": 1024, "MB": 1024**2, "GB": 1024**3, "TB": 1024**4 
}
   number, unit = [string.strip() for string in human_size.split()]
-  return int(float(number)*units[unit])
+  return int(locale.atof(number)*units[unit])
 
 Review comment:
   @adoroszlai right, locale.setlocale( locale.LC_ALL, '' ) is missing before 
atof


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():
> 
>
> Key: AMBARI-24763
> URL: https://issues.apache.org/jira/browse/AMBARI-24763
> Project: Ambari
>  Issue Type: Bug
>Affects Versions: 2.7.0
>Reporter: Olivér Szabó
>Assignee: Olivér Szabó
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> exception:
> {code:java}
> File "/usr/lib/ambari-infra-solr-client/migrationHelper.py", line 951, in 
> parse_size 
> return int(float(number)*units[unit]) 
> ValueError: invalid literal for float(): 1,013.88 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24765) Fix CVE issues for Log Search (2.7.3)

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24765:
-

oleewere opened a new pull request #8: AMBARI-24765. Fix CVE issues for Log 
Search
URL: https://github.com/apache/ambari-logsearch/pull/8
 
 
   # What changes were proposed in this pull request?
   Fix CVE issues (only for fasterxml jackson)
   
   ## How was this patch tested?
   UT,FT in progress..
   
   Please review @kasakrisz @swagle 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Fix CVE issues for Log Search (2.7.3)
> -
>
> Key: AMBARI-24765
> URL: https://issues.apache.org/jira/browse/AMBARI-24765
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-logsearch
>Affects Versions: 2.7.1
>Reporter: Olivér Szabó
>Assignee: Olivér Szabó
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24637) Ambari metrics service check failed during UI deploy

2018-10-11 Thread Hudson (JIRA)


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

Hudson commented on AMBARI-24637:
-

FAILURE: Integrated in Jenkins build Ambari-branch-2.7 #355 (See 
[https://builds.apache.org/job/Ambari-branch-2.7/355/])
[AMBARI-24637] Ambari metrics service check failed during UI deploy. (github: 
[https://gitbox.apache.org/repos/asf?p=ambari.git=commit=65d35cae920a7ee2834dd1af3200535a64c5f161])
* (edit) 
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/discovery/TimelineMetricMetadataManager.java
* (edit) 
ambari-metrics/ambari-metrics-timelineservice/src/test/java/org/apache/ambari/metrics/core/timeline/discovery/TestMetadataManager.java


> Ambari metrics service check failed during UI deploy
> 
>
> Key: AMBARI-24637
> URL: https://issues.apache.org/jira/browse/AMBARI-24637
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-metrics
>Affects Versions: 2.7.1
>Reporter: Aravindan Vijayan
>Assignee: Aravindan Vijayan
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>  Time Spent: 3h
>  Remaining Estimate: 0h
>
> Race conditions in UUID computation helper caused issues in writes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-24765) Fix CVE issues for Log Search (2.7.3)

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated AMBARI-24765:

Labels: pull-request-available  (was: )

> Fix CVE issues for Log Search (2.7.3)
> -
>
> Key: AMBARI-24765
> URL: https://issues.apache.org/jira/browse/AMBARI-24765
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-logsearch
>Affects Versions: 2.7.1
>Reporter: Olivér Szabó
>Assignee: Olivér Szabó
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (AMBARI-24765) Fix CVE issues for Log Search (2.7.3)

2018-10-11 Thread JIRA
Olivér Szabó created AMBARI-24765:
-

 Summary: Fix CVE issues for Log Search (2.7.3)
 Key: AMBARI-24765
 URL: https://issues.apache.org/jira/browse/AMBARI-24765
 Project: Ambari
  Issue Type: Bug
  Components: ambari-logsearch
Affects Versions: 2.7.1
Reporter: Olivér Szabó
Assignee: Olivér Szabó
 Fix For: 2.7.3






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-24764) StackMerger utility tool for flattening stack definitions

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated AMBARI-24764:

Labels: pull-request-available  (was: )

> StackMerger utility tool for flattening stack definitions
> -
>
> Key: AMBARI-24764
> URL: https://issues.apache.org/jira/browse/AMBARI-24764
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-server, stacks
>Affects Versions: 2.7.3
>Reporter: Jayush Luniya
>Assignee: Jayush Luniya
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>
> Add StackMerger utility tool to flatten HDP-2.6 stack definition from 
> Ambari-2.7 and export the flattened stack definition for use in Ambari 2.8



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24763) Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24763:
-

adoroszlai commented on a change in pull request #5: AMBARI-24763. Infra Solr 
upgrade (2.7.x): ValueError: invalid literal for float():
URL: https://github.com/apache/ambari-infra/pull/5#discussion_r224575118
 
 

 ##
 File path: ambari-infra-solr-client/src/main/python/migrationHelper.py
 ##
 @@ -946,9 +946,10 @@ def human_size(size_bytes):
   return "%s %s" % (formatted_size, suffix)
 
 def parse_size(human_size):
+  import locale
   units = {"bytes": 1, "KB": 1024, "MB": 1024**2, "GB": 1024**3, "TB": 1024**4 
}
   number, unit = [string.strip() for string in human_size.split()]
-  return int(float(number)*units[unit])
+  return int(locale.atof(number)*units[unit])
 
 Review comment:
   I'm not sure `locale.atof` fixes the problem.
   
   ```
   >>> locale.atof("1,013.88")
   Traceback (most recent call last):
 File "", line 1, in 
 File "/usr/lib64/python2.7/locale.py", line 316, in atof
   return func(string)
   ValueError: invalid literal for float(): 1,013.88
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():
> 
>
> Key: AMBARI-24763
> URL: https://issues.apache.org/jira/browse/AMBARI-24763
> Project: Ambari
>  Issue Type: Bug
>Affects Versions: 2.7.0
>Reporter: Olivér Szabó
>Assignee: Olivér Szabó
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> exception:
> {code:java}
> File "/usr/lib/ambari-infra-solr-client/migrationHelper.py", line 951, in 
> parse_size 
> return int(float(number)*units[unit]) 
> ValueError: invalid literal for float(): 1,013.88 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (AMBARI-24764) StackMerger utility tool for flattening stack definitions

2018-10-11 Thread Jayush Luniya (JIRA)
Jayush Luniya created AMBARI-24764:
--

 Summary: StackMerger utility tool for flattening stack definitions
 Key: AMBARI-24764
 URL: https://issues.apache.org/jira/browse/AMBARI-24764
 Project: Ambari
  Issue Type: Task
  Components: ambari-server, stacks
Affects Versions: 2.7.3
Reporter: Jayush Luniya
Assignee: Jayush Luniya
 Fix For: 2.7.3


Add StackMerger utility tool to flatten HDP-2.6 stack definition from 
Ambari-2.7 and export the flattened stack definition for use in Ambari 2.8



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24763) Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24763:
-

asfgit commented on issue #5: AMBARI-24763. Infra Solr upgrade (2.7.x): 
ValueError: invalid literal for float():
URL: https://github.com/apache/ambari-infra/pull/5#issuecomment-429081921
 
 
   
   Refer to this link for build results (access rights to CI server needed): 
   https://builds.apache.org/job/Ambari-Infra-Github-PR-Builder/6/
   Test PASSed.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():
> 
>
> Key: AMBARI-24763
> URL: https://issues.apache.org/jira/browse/AMBARI-24763
> Project: Ambari
>  Issue Type: Bug
>Affects Versions: 2.7.0
>Reporter: Olivér Szabó
>Assignee: Olivér Szabó
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> exception:
> {code:java}
> File "/usr/lib/ambari-infra-solr-client/migrationHelper.py", line 951, in 
> parse_size 
> return int(float(number)*units[unit]) 
> ValueError: invalid literal for float(): 1,013.88 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-24763) Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated AMBARI-24763:

Labels: pull-request-available  (was: )

> Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():
> 
>
> Key: AMBARI-24763
> URL: https://issues.apache.org/jira/browse/AMBARI-24763
> Project: Ambari
>  Issue Type: Bug
>Affects Versions: 2.7.0
>Reporter: Olivér Szabó
>Assignee: Olivér Szabó
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>
> exception:
> {code:java}
> File "/usr/lib/ambari-infra-solr-client/migrationHelper.py", line 951, in 
> parse_size 
> return int(float(number)*units[unit]) 
> ValueError: invalid literal for float(): 1,013.88 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24763) Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24763:
-

oleewere opened a new pull request #5: AMBARI-24763. Infra Solr upgrade 
(2.7.x): ValueError: invalid literal for float():
URL: https://github.com/apache/ambari-infra/pull/5
 
 
   ## What changes were proposed in this pull request?
   in some cases (probably system environment problem? ), invalid float 
literals can be invalid. fixing that by using locale
   
   ## How was this patch tested?
   manually by someone else
   
   Please review @zeroflag @adoroszlai @g-boros @kasakrisz @swagle 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():
> 
>
> Key: AMBARI-24763
> URL: https://issues.apache.org/jira/browse/AMBARI-24763
> Project: Ambari
>  Issue Type: Bug
>Affects Versions: 2.7.0
>Reporter: Olivér Szabó
>Assignee: Olivér Szabó
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>
> exception:
> {code:java}
> File "/usr/lib/ambari-infra-solr-client/migrationHelper.py", line 951, in 
> parse_size 
> return int(float(number)*units[unit]) 
> ValueError: invalid literal for float(): 1,013.88 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (AMBARI-24763) Infra Solr upgrade (2.7.x): ValueError: invalid literal for float():

2018-10-11 Thread JIRA
Olivér Szabó created AMBARI-24763:
-

 Summary: Infra Solr upgrade (2.7.x): ValueError: invalid literal 
for float():
 Key: AMBARI-24763
 URL: https://issues.apache.org/jira/browse/AMBARI-24763
 Project: Ambari
  Issue Type: Bug
Affects Versions: 2.7.0
Reporter: Olivér Szabó
Assignee: Olivér Szabó
 Fix For: 2.7.3


exception:
{code:java}
File "/usr/lib/ambari-infra-solr-client/migrationHelper.py", line 951, in 
parse_size 
return int(float(number)*units[unit]) 
ValueError: invalid literal for float(): 1,013.88 
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-24637) Ambari metrics service check failed during UI deploy

2018-10-11 Thread Aravindan Vijayan (JIRA)


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

Aravindan Vijayan updated AMBARI-24637:
---
Fix Version/s: (was: 2.8.0)
   2.7.3

> Ambari metrics service check failed during UI deploy
> 
>
> Key: AMBARI-24637
> URL: https://issues.apache.org/jira/browse/AMBARI-24637
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-metrics
>Affects Versions: 2.7.1
>Reporter: Aravindan Vijayan
>Assignee: Aravindan Vijayan
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 2.7.3
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> Race conditions in UUID computation helper caused issues in writes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-24762) Ambari server continues to send request updates after all commands were completed.

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated AMBARI-24762:

Labels: pull-request-available  (was: )

> Ambari server continues to send request updates after all commands were 
> completed.
> --
>
> Key: AMBARI-24762
> URL: https://issues.apache.org/jira/browse/AMBARI-24762
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-server
>Affects Versions: 2.7.0
>Reporter: Myroslav Papirkovskyi
>Assignee: Myroslav Papirkovskyi
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 3.0.0
>
>
> After start/stop all request was completed server continues to send request 
> updates. This causes UI shows invalid request/tasks progress statuses.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (AMBARI-24762) Ambari server continues to send request updates after all commands were completed.

2018-10-11 Thread Myroslav Papirkovskyi (JIRA)
Myroslav Papirkovskyi created AMBARI-24762:
--

 Summary: Ambari server continues to send request updates after all 
commands were completed.
 Key: AMBARI-24762
 URL: https://issues.apache.org/jira/browse/AMBARI-24762
 Project: Ambari
  Issue Type: Bug
  Components: ambari-server
Affects Versions: 2.7.0
Reporter: Myroslav Papirkovskyi
Assignee: Myroslav Papirkovskyi
 Fix For: 3.0.0


After start/stop all request was completed server continues to send request 
updates. This causes UI shows invalid request/tasks progress statuses.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (AMBARI-24760) Broken unit test in ambari-web/test/controllers/main/admin/highAvailability/journalNode/step3_controller_test.js

2018-10-11 Thread Antonenko Alexander (JIRA)


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

Antonenko Alexander resolved AMBARI-24760.
--
Resolution: Fixed

> Broken unit test in 
> ambari-web/test/controllers/main/admin/highAvailability/journalNode/step3_controller_test.js
> 
>
> Key: AMBARI-24760
> URL: https://issues.apache.org/jira/browse/AMBARI-24760
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 3.0.0
>Reporter: Antonenko Alexander
>Assignee: Antonenko Alexander
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> *Only for branch-feature-AMBARI-14714*.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24731) Infra Manager: scheduled cleanup of old jobs

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24731:
-

kasakrisz commented on issue #4: AMBARI-24731 - Infra Manager: scheduled 
cleanup of old jobs
URL: https://github.com/apache/ambari-infra/pull/4#issuecomment-428961408
 
 
   @oleewere I removed the commented parts.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Infra Manager: scheduled cleanup of old jobs
> 
>
> Key: AMBARI-24731
> URL: https://issues.apache.org/jira/browse/AMBARI-24731
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-infra
>Affects Versions: 2.8.0
>Reporter: Krisztian Kasa
>Assignee: Krisztian Kasa
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.8.0
>
>
> Infra manager should have a mechanism, which can be scheduled (like every day 
> once), to check against old job history and get rid of them (if the job 
> already finished about 7 days, it can be deleted -> all references in the db)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24731) Infra Manager: scheduled cleanup of old jobs

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24731:
-

asfgit commented on issue #4: AMBARI-24731 - Infra Manager: scheduled cleanup 
of old jobs
URL: https://github.com/apache/ambari-infra/pull/4#issuecomment-428960088
 
 
   
   Refer to this link for build results (access rights to CI server needed): 
   https://builds.apache.org/job/Ambari-Infra-Github-PR-Builder/5/
   Test PASSed.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Infra Manager: scheduled cleanup of old jobs
> 
>
> Key: AMBARI-24731
> URL: https://issues.apache.org/jira/browse/AMBARI-24731
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-infra
>Affects Versions: 2.8.0
>Reporter: Krisztian Kasa
>Assignee: Krisztian Kasa
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.8.0
>
>
> Infra manager should have a mechanism, which can be scheduled (like every day 
> once), to check against old job history and get rid of them (if the job 
> already finished about 7 days, it can be deleted -> all references in the db)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24731) Infra Manager: scheduled cleanup of old jobs

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24731:
-

oleewere commented on a change in pull request #4: AMBARI-24731 - Infra 
Manager: scheduled cleanup of old jobs
URL: https://github.com/apache/ambari-infra/pull/4#discussion_r224450545
 
 

 ##
 File path: 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/S3Uploader.java
 ##
 @@ -48,14 +64,29 @@ public S3Uploader(S3Properties s3Properties, PasswordStore 
passwordStore) {
 if (isNotBlank((s3Properties.getS3AccessFile(
   compositePasswordStore = new CompositePasswordStore(passwordStore, 
S3AccessCsv.file(s3Properties.getS3AccessFile()));
 
-BasicAWSCredentials credentials = new BasicAWSCredentials(
-
compositePasswordStore.getPassword(S3AccessKeyNames.AccessKeyId.getEnvVariableName())
-.orElseThrow(() -> new IllegalArgumentException("Access 
key Id is not present!")),
-
compositePasswordStore.getPassword(S3AccessKeyNames.SecretAccessKey.getEnvVariableName())
-.orElseThrow(() -> new IllegalArgumentException("Secret 
Access Key is not present!")));
-client = new AmazonS3Client(credentials);
-if (!isBlank(s3Properties.getS3EndPoint()))
-  client.setEndpoint(s3Properties.getS3EndPoint());
+try {
+  client = new MinioClient(s3Properties.getS3EndPoint(), 
compositePasswordStore.getPassword(S3AccessKeyNames.AccessKeyId.getEnvVariableName())
+  .orElseThrow(() -> new IllegalArgumentException("Access key Id 
is not present!")),
+  
compositePasswordStore.getPassword(S3AccessKeyNames.SecretAccessKey.getEnvVariableName())
+  .orElseThrow(() -> new IllegalArgumentException("Secret 
Access Key is not present!")));
+
+  if (!client.bucketExists(bucketName))
+client.makeBucket(bucketName);
+
+} catch (RegionConflictException | XmlPullParserException | 
InvalidBucketNameException | NoSuchAlgorithmException | 
InsufficientDataException | ErrorResponseException | InvalidKeyException | 
NoResponseException | InvalidPortException | InvalidEndpointException | 
InternalException e) {
+  throw new RuntimeException(e);
+} catch (IOException e) {
+  throw new UncheckedIOException(e);
+}
+
+//BasicAWSCredentials credentials = new BasicAWSCredentials(
 
 Review comment:
   remove this


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Infra Manager: scheduled cleanup of old jobs
> 
>
> Key: AMBARI-24731
> URL: https://issues.apache.org/jira/browse/AMBARI-24731
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-infra
>Affects Versions: 2.8.0
>Reporter: Krisztian Kasa
>Assignee: Krisztian Kasa
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.8.0
>
>
> Infra manager should have a mechanism, which can be scheduled (like every day 
> once), to check against old job history and get rid of them (if the job 
> already finished about 7 days, it can be deleted -> all references in the db)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (AMBARI-24761) Infra Manager: hive support for archiving Infra Solr

2018-10-11 Thread Krisztian Kasa (JIRA)
Krisztian Kasa created AMBARI-24761:
---

 Summary: Infra Manager: hive support for archiving Infra Solr
 Key: AMBARI-24761
 URL: https://issues.apache.org/jira/browse/AMBARI-24761
 Project: Ambari
  Issue Type: Bug
  Components: infra
Affects Versions: 2.8.0
Reporter: Krisztian Kasa
Assignee: Krisztian Kasa
 Fix For: 2.8.0


When exporting Solr documents from logsearch and ranger collections save it to 
a format which can be parsed by Hive.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (AMBARI-24760) Broken unit test in ambari-web/test/controllers/main/admin/highAvailability/journalNode/step3_controller_test.js

2018-10-11 Thread Antonenko Alexander (JIRA)


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

Antonenko Alexander reassigned AMBARI-24760:


Assignee: Antonenko Alexander

> Broken unit test in 
> ambari-web/test/controllers/main/admin/highAvailability/journalNode/step3_controller_test.js
> 
>
> Key: AMBARI-24760
> URL: https://issues.apache.org/jira/browse/AMBARI-24760
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 3.0.0
>Reporter: Antonenko Alexander
>Assignee: Antonenko Alexander
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> *Only for branch-feature-AMBARI-14714*.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-24760) Broken unit test in ambari-web/test/controllers/main/admin/highAvailability/journalNode/step3_controller_test.js

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated AMBARI-24760:

Labels: pull-request-available  (was: )

> Broken unit test in 
> ambari-web/test/controllers/main/admin/highAvailability/journalNode/step3_controller_test.js
> 
>
> Key: AMBARI-24760
> URL: https://issues.apache.org/jira/browse/AMBARI-24760
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 3.0.0
>Reporter: Antonenko Alexander
>Priority: Major
>  Labels: pull-request-available
>
> *Only for branch-feature-AMBARI-14714*.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (AMBARI-24760) Broken unit test in ambari-web/test/controllers/main/admin/highAvailability/journalNode/step3_controller_test.js

2018-10-11 Thread Antonenko Alexander (JIRA)
Antonenko Alexander created AMBARI-24760:


 Summary: Broken unit test in 
ambari-web/test/controllers/main/admin/highAvailability/journalNode/step3_controller_test.js
 Key: AMBARI-24760
 URL: https://issues.apache.org/jira/browse/AMBARI-24760
 Project: Ambari
  Issue Type: Task
  Components: ambari-web
Affects Versions: 3.0.0
Reporter: Antonenko Alexander


*Only for branch-feature-AMBARI-14714*.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24751) Cover helpers views

2018-10-11 Thread Hudson (JIRA)


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

Hudson commented on AMBARI-24751:
-

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10205 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/10205/])
AMBARI-24751. Cover helpers views (aantonenko: 
[https://gitbox.apache.org/repos/asf?p=ambari.git=commit=09c3720380ff196a0dad4fe84389cd434bd17079])
* (edit) ambari-web/app/assets/test/tests.js
* (add) ambari-web/test/views/common/helpers/format_null_view_test.js
* (add) ambari-web/test/views/common/helpers/status_icon_view_test.js


> Cover helpers views
> ---
>
> Key: AMBARI-24751
> URL: https://issues.apache.org/jira/browse/AMBARI-24751
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 3.0.0
>Reporter: Antonenko Alexander
>Assignee: Antonenko Alexander
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (AMBARI-24751) Cover helpers views

2018-10-11 Thread Antonenko Alexander (JIRA)


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

Antonenko Alexander resolved AMBARI-24751.
--
Resolution: Fixed

Committed to trunk

 

> Cover helpers views
> ---
>
> Key: AMBARI-24751
> URL: https://issues.apache.org/jira/browse/AMBARI-24751
> Project: Ambari
>  Issue Type: Task
>  Components: ambari-web
>Affects Versions: 3.0.0
>Reporter: Antonenko Alexander
>Assignee: Antonenko Alexander
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24731) Infra Manager: scheduled cleanup of old jobs

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24731:
-

asfgit commented on issue #4: AMBARI-24731 - Infra Manager: scheduled cleanup 
of old jobs
URL: https://github.com/apache/ambari-infra/pull/4#issuecomment-428891488
 
 
   
   Refer to this link for build results (access rights to CI server needed): 
   https://builds.apache.org/job/Ambari-Infra-Github-PR-Builder/4/
   Test PASSed.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Infra Manager: scheduled cleanup of old jobs
> 
>
> Key: AMBARI-24731
> URL: https://issues.apache.org/jira/browse/AMBARI-24731
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-infra
>Affects Versions: 2.8.0
>Reporter: Krisztian Kasa
>Assignee: Krisztian Kasa
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.8.0
>
>
> Infra manager should have a mechanism, which can be scheduled (like every day 
> once), to check against old job history and get rid of them (if the job 
> already finished about 7 days, it can be deleted -> all references in the db)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24731) Infra Manager: scheduled cleanup of old jobs

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on AMBARI-24731:
-

kasakrisz opened a new pull request #4: AMBARI-24731 - Infra Manager: scheduled 
cleanup of old jobs
URL: https://github.com/apache/ambari-infra/pull/4
 
 
   ## What changes were proposed in this pull request?
   
   - Create clean up job for deleting expired job data from Infra Manager local 
database
   - Replace aws sdk to minio because aws sdk can not be modularized and it was 
not worked with localstack which we use for mock s3 in IT
   - Refactor job configuration: prior the refactor only job groups could be 
defined from now single jobs too
   - Extract Solr specific functionality from JobScheduler to get a more 
general scheduler. 
   - Use immutable configuration and parameter objects for jobs
   - Adjust integration test for the separate infra repo
   
   ## How was this patch tested?
   
   1. run Integration test 
   2. manually:
   - Deploy Ambari and a cluster with infra solr, infra manager, logsearch, hdfs
   - enable archive_service_job set the destination to hdfs and run it using 
infra manager API
   - check hdfs contains files in the archives destination directory. Check the 
content of the files
   3. manually:
   - start infra manager in a docker environment
   - set cleanup schedule to run the job in every minute and set the ttl for a 
small duration of time
   - check infra managers sqlite db contains job data and their creation date



This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Infra Manager: scheduled cleanup of old jobs
> 
>
> Key: AMBARI-24731
> URL: https://issues.apache.org/jira/browse/AMBARI-24731
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-infra
>Affects Versions: 2.8.0
>Reporter: Krisztian Kasa
>Assignee: Krisztian Kasa
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.8.0
>
>
> Infra manager should have a mechanism, which can be scheduled (like every day 
> once), to check against old job history and get rid of them (if the job 
> already finished about 7 days, it can be deleted -> all references in the db)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-24731) Infra Manager: scheduled cleanup of old jobs

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated AMBARI-24731:

Labels: pull-request-available  (was: )

> Infra Manager: scheduled cleanup of old jobs
> 
>
> Key: AMBARI-24731
> URL: https://issues.apache.org/jira/browse/AMBARI-24731
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-infra
>Affects Versions: 2.8.0
>Reporter: Krisztian Kasa
>Assignee: Krisztian Kasa
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.8.0
>
>
> Infra manager should have a mechanism, which can be scheduled (like every day 
> once), to check against old job history and get rid of them (if the job 
> already finished about 7 days, it can be deleted -> all references in the db)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-24759) Ambari Server test failures with JDK11

2018-10-11 Thread Gabor Boros (JIRA)


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

Gabor Boros updated AMBARI-24759:
-
Description: 
Ambari Server tests failures prevent build with JDK11:

{code}

± % JAVA_HOME=/tmp/jdk-11 mvn clean test -Drat.skip=true -am -pl ambari-server 
-DskipPythonTests=true

...
...
[ERROR]   ViewThrottleFilterTest.initializationError ? Objenesis 
java.lang.reflect.Invoc...
[ERROR]   DataStoreImplTest.initializationError ? Objenesis 
java.lang.reflect.Invocation...
[INFO]
[ERROR] Tests run: 4651, Failures: 0, Errors: 62, Skipped: 71
[INFO]
[INFO] 
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main  SUCCESS [  2.216 s]
[INFO] Apache Ambari Project POM .. SUCCESS [  0.008 s]
[INFO] Ambari Views ... SUCCESS [ 57.359 s]
[INFO] ambari-utility . SUCCESS [  4.158 s]
[INFO] Ambari Server SPI .. SUCCESS [  1.341 s]
[INFO] Ambari Service Advisor . SUCCESS [  0.355 s]
[INFO] Ambari Server .. FAILURE [20:17 min]
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 21:23 min
[INFO] Finished at: 2018-10-10T15:01:04+00:00
[INFO] Final Memory: 133M/494M
[INFO] 

{code}


  was:
{code}
± % java -version
java version "11" 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11+28)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)

± % mvn clean test -Dgenerate.swagger.resources=true -Drat.skip -pl 
ambari-utility
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building ambari-utility 1.0.0.0-SNAPSHOT
[INFO] 
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ambari-utility ---
[INFO] Deleting /Users/gboros/Documents/dev/ambari/ambari-utility/target
[INFO] Deleting /Users/gboros/Documents/dev/ambari/ambari-utility (includes = 
[**/*.pyc], excludes = [])
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-version) 
@ ambari-utility ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-release) 
@ ambari-utility ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
ambari-utility ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ ambari-utility 
---
[INFO] Compiling 14 source files to 
/Users/gboros/Documents/dev/ambari/ambari-utility/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
ambari-utility ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
ambari-utility ---
[INFO] Compiling 3 source files to 
/Users/gboros/Documents/dev/ambari/ambari-utility/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.20:test (default-test) @ ambari-utility ---
[INFO]
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running org.apache.ambari.swagger.AmbariSwaggerReaderTest
[INFO] Running 
org.apache.ambari.checkstyle.UndocumentedRestApiOperationCheckTest
[INFO] Running 
org.apache.ambari.checkstyle.AvoidTransactionalOnPrivateMethodsCheckTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.253 s 
- in org.apache.ambari.checkstyle.AvoidTransactionalOnPrivateMethodsCheckTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.287 s 
- in org.apache.ambari.checkstyle.UndocumentedRestApiOperationCheckTest
[ERROR] Tests run: 8, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.479 s 
<<< FAILURE! - in org.apache.ambari.swagger.AmbariSwaggerReaderTest
[ERROR] swaggerBasicCase(org.apache.ambari.swagger.AmbariSwaggerReaderTest)  
Time elapsed: 1.21 s  <<< ERROR!
java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement
at 
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerBasicCase(AmbariSwaggerReaderTest.java:71)
Caused by: java.lang.ClassNotFoundException: 
javax.xml.bind.annotation.XmlRootElement
at 
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerBasicCase(AmbariSwaggerReaderTest.java:71)

[ERROR] 
swaggerConflictingNestedApis(org.apache.ambari.swagger.AmbariSwaggerReaderTest) 
 Time elapsed: 

[jira] [Created] (AMBARI-24759) Ambari Server test failures with JDK11

2018-10-11 Thread Gabor Boros (JIRA)
Gabor Boros created AMBARI-24759:


 Summary: Ambari Server test failures with JDK11
 Key: AMBARI-24759
 URL: https://issues.apache.org/jira/browse/AMBARI-24759
 Project: Ambari
  Issue Type: Bug
Affects Versions: 2.7.1
Reporter: Gabor Boros
Assignee: Gabor Boros
 Fix For: 2.8.0


{code}
± % java -version
java version "11" 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11+28)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)

± % mvn clean test -Dgenerate.swagger.resources=true -Drat.skip -pl 
ambari-utility
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building ambari-utility 1.0.0.0-SNAPSHOT
[INFO] 
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ambari-utility ---
[INFO] Deleting /Users/gboros/Documents/dev/ambari/ambari-utility/target
[INFO] Deleting /Users/gboros/Documents/dev/ambari/ambari-utility (includes = 
[**/*.pyc], excludes = [])
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-version) 
@ ambari-utility ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:regex-property (parse-package-release) 
@ ambari-utility ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
ambari-utility ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ ambari-utility 
---
[INFO] Compiling 14 source files to 
/Users/gboros/Documents/dev/ambari/ambari-utility/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
ambari-utility ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
ambari-utility ---
[INFO] Compiling 3 source files to 
/Users/gboros/Documents/dev/ambari/ambari-utility/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.20:test (default-test) @ ambari-utility ---
[INFO]
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running org.apache.ambari.swagger.AmbariSwaggerReaderTest
[INFO] Running 
org.apache.ambari.checkstyle.UndocumentedRestApiOperationCheckTest
[INFO] Running 
org.apache.ambari.checkstyle.AvoidTransactionalOnPrivateMethodsCheckTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.253 s 
- in org.apache.ambari.checkstyle.AvoidTransactionalOnPrivateMethodsCheckTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.287 s 
- in org.apache.ambari.checkstyle.UndocumentedRestApiOperationCheckTest
[ERROR] Tests run: 8, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.479 s 
<<< FAILURE! - in org.apache.ambari.swagger.AmbariSwaggerReaderTest
[ERROR] swaggerBasicCase(org.apache.ambari.swagger.AmbariSwaggerReaderTest)  
Time elapsed: 1.21 s  <<< ERROR!
java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement
at 
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerBasicCase(AmbariSwaggerReaderTest.java:71)
Caused by: java.lang.ClassNotFoundException: 
javax.xml.bind.annotation.XmlRootElement
at 
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerBasicCase(AmbariSwaggerReaderTest.java:71)

[ERROR] 
swaggerConflictingNestedApis(org.apache.ambari.swagger.AmbariSwaggerReaderTest) 
 Time elapsed: 0.006 s  <<< ERROR!
java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement
at 
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerConflictingNestedApis(AmbariSwaggerReaderTest.java:86)

[ERROR] 
swaggerConflictingNestedApisWithPreferredParent(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
  Time elapsed: 0.004 s  <<< ERROR!
java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement
at 
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithPreferredParent(AmbariSwaggerReaderTest.java:103)

[ERROR] 
swaggerConflictingNestedApisWithSamePreferredParent(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
  Time elapsed: 0.003 s  <<< ERROR!
java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement
at 
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithSamePreferredParent(AmbariSwaggerReaderTest.java:121)

[ERROR] 
swaggerConflictingNestedApisWithBadPreferredParent(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
  Time elapsed: 0.003 s  <<< ERROR!
java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement
at 

[jira] [Updated] (AMBARI-24759) Ambari Server test failures with JDK11

2018-10-11 Thread Gabor Boros (JIRA)


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

Gabor Boros updated AMBARI-24759:
-
Labels: jdk11  (was: jdk11 pull-request-available)

> Ambari Server test failures with JDK11
> --
>
> Key: AMBARI-24759
> URL: https://issues.apache.org/jira/browse/AMBARI-24759
> Project: Ambari
>  Issue Type: Bug
>Affects Versions: 2.7.1
>Reporter: Gabor Boros
>Assignee: Gabor Boros
>Priority: Major
>  Labels: jdk11
> Fix For: 2.8.0
>
>
> {code}
> ± % java -version
> java version "11" 2018-09-25
> Java(TM) SE Runtime Environment 18.9 (build 11+28)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)
> ± % mvn clean test -Dgenerate.swagger.resources=true -Drat.skip -pl 
> ambari-utility
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> 
> [INFO] Building ambari-utility 1.0.0.0-SNAPSHOT
> [INFO] 
> 
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ambari-utility ---
> [INFO] Deleting /Users/gboros/Documents/dev/ambari/ambari-utility/target
> [INFO] Deleting /Users/gboros/Documents/dev/ambari/ambari-utility (includes = 
> [**/*.pyc], excludes = [])
> [INFO]
> [INFO] --- build-helper-maven-plugin:1.8:regex-property 
> (parse-package-version) @ ambari-utility ---
> [INFO]
> [INFO] --- build-helper-maven-plugin:1.8:regex-property 
> (parse-package-release) @ ambari-utility ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
> ambari-utility ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
> ambari-utility ---
> [INFO] Compiling 14 source files to 
> /Users/gboros/Documents/dev/ambari/ambari-utility/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
> ambari-utility ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
> ambari-utility ---
> [INFO] Compiling 3 source files to 
> /Users/gboros/Documents/dev/ambari/ambari-utility/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ ambari-utility ---
> [INFO]
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running org.apache.ambari.swagger.AmbariSwaggerReaderTest
> [INFO] Running 
> org.apache.ambari.checkstyle.UndocumentedRestApiOperationCheckTest
> [INFO] Running 
> org.apache.ambari.checkstyle.AvoidTransactionalOnPrivateMethodsCheckTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.253 
> s - in 
> org.apache.ambari.checkstyle.AvoidTransactionalOnPrivateMethodsCheckTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.287 
> s - in org.apache.ambari.checkstyle.UndocumentedRestApiOperationCheckTest
> [ERROR] Tests run: 8, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.479 
> s <<< FAILURE! - in org.apache.ambari.swagger.AmbariSwaggerReaderTest
> [ERROR] swaggerBasicCase(org.apache.ambari.swagger.AmbariSwaggerReaderTest)  
> Time elapsed: 1.21 s  <<< ERROR!
> java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement
>   at 
> org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerBasicCase(AmbariSwaggerReaderTest.java:71)
> Caused by: java.lang.ClassNotFoundException: 
> javax.xml.bind.annotation.XmlRootElement
>   at 
> org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerBasicCase(AmbariSwaggerReaderTest.java:71)
> [ERROR] 
> swaggerConflictingNestedApis(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
>   Time elapsed: 0.006 s  <<< ERROR!
> java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement
>   at 
> org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerConflictingNestedApis(AmbariSwaggerReaderTest.java:86)
> [ERROR] 
> swaggerConflictingNestedApisWithPreferredParent(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
>   Time elapsed: 0.004 s  <<< ERROR!
> java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement
>   at 
> org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithPreferredParent(AmbariSwaggerReaderTest.java:103)
> [ERROR] 
> swaggerConflictingNestedApisWithSamePreferredParent(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
>   Time elapsed: 0.003 s  <<< ERROR!
> java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlRootElement
>   at 
> 

[jira] [Commented] (AMBARI-24757) Grafana start failing on U14 fails with error "AttributeError: 'module' object has no attribute 'PROTOCOL_TLSv1_2'"

2018-10-11 Thread Hudson (JIRA)


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

Hudson commented on AMBARI-24757:
-

SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #354 (See 
[https://builds.apache.org/job/Ambari-branch-2.7/354/])
AMBARI-24757. Grafana start failing on U14 fails with error (aonishuk: 
[https://gitbox.apache.org/repos/asf?p=ambari.git=commit=4da9f42584e7185be7c776574ce0e15ce4cc25d5])
* (edit) ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
* (edit) 
ambari-common/src/main/python/resource_management/libraries/script/script.py


> Grafana start failing on U14 fails with error "AttributeError: 'module' 
> object has no attribute 'PROTOCOL_TLSv1_2'"
> ---
>
> Key: AMBARI-24757
> URL: https://issues.apache.org/jira/browse/AMBARI-24757
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.3
>
> Attachments: AMBARI-24757.patch, AMBARI-24757.patch, 
> AMBARI-24757.patch
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AMBARI-24757) Grafana start failing on U14 fails with error "AttributeError: 'module' object has no attribute 'PROTOCOL_TLSv1_2'"

2018-10-11 Thread Hudson (JIRA)


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

Hudson commented on AMBARI-24757:
-

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #10203 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/10203/])
AMBARI-24757. Grafana start failing on U14 fails with error (aonishuk: 
[https://gitbox.apache.org/repos/asf?p=ambari.git=commit=2415a03b24dab92e703f71e7bca0a502a66bb402])
* (edit) 
ambari-common/src/main/python/resource_management/libraries/script/script.py
* (edit) ambari-agent/src/main/python/ambari_agent/AmbariConfig.py


> Grafana start failing on U14 fails with error "AttributeError: 'module' 
> object has no attribute 'PROTOCOL_TLSv1_2'"
> ---
>
> Key: AMBARI-24757
> URL: https://issues.apache.org/jira/browse/AMBARI-24757
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.3
>
> Attachments: AMBARI-24757.patch, AMBARI-24757.patch, 
> AMBARI-24757.patch
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)