Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
481 commits
Select commit Hold shift + click to select a range
417547a
[AMBARI-22764] NN HA wizard is broken due to recent commit for config…
atkach Jan 11, 2018
e5bd153
Merge pull request #85 from kasakrisz/infra-manager-stack-code
oleewere Jan 11, 2018
6aeb7f4
Merge pull request #87 from atkach/AMBARI-22764-trunk
Jan 11, 2018
47c8d29
AMBARI-22767. Kerberos wizard. Advanced kerberos-env password propert…
hiveww Jan 11, 2018
4082549
AMBARI-22766 ambari-server setup with internal database may not work …
hapylestat Jan 11, 2018
8e59a86
AMBARI-22768. Update Welcome page style (akovalenko)
Jan 11, 2018
fa403a6
AMBARI-22772. Log Search / Log Feeder - config symlink cannot be crea…
oleewere Jan 12, 2018
b8cfbc4
AMBARI-22771. Ambari loads ambari.properties using ISO 8859-1 encodin…
adoroszlai Jan 12, 2018
c1320ab
[AMBARI-22770] Bring jenkins job build script under version control (…
vivekratnavel Jan 12, 2018
47c78e9
Merge pull request #63 from kinow/patch-2
adoroszlai Jan 12, 2018
4169f4d
Merge remote-tracking branch 'origin/trunk' into branch-feature-AMBAR…
rlevas Jan 14, 2018
6714768
Merge pull request #110 from rlevas/branch-feature-AMBARI-20859
rlevas Jan 14, 2018
05200de
Merge pull request #2 from apache/trunk
rlevas Jan 14, 2018
84434f9
Merge branch 'trunk' into branch-feature-AMBARI-20859
rlevas Jan 14, 2018
6737bba
Merge pull request #111 from rlevas/branch-feature-AMBARI-20859
rlevas Jan 14, 2018
008a3c1
AMBARI-22637. Fix misuses of os.path.dirname(path) in yarn.py
aajisaka Jan 12, 2018
0e32150
AMBARI-22771. Fix broken unit test
adoroszlai Jan 15, 2018
b2a61ec
AMBARI-22668. Moving LDAP related properties to DB upon upgrade to 3.0.0
Jan 10, 2018
0c61412
AMBARI-22668: implemented changes requested by reviewers
Jan 14, 2018
1e5d726
AMBARI-22668: implemented changes requested by rlevas
Jan 15, 2018
9862707
AMBARI-22783 Login page lost Ambari branding. (atkach)
atkach Jan 15, 2018
2c9fd2d
Merge remote-tracking branch 'upstream/trunk' into trunk
rlevas Jan 15, 2018
f6d569b
Merge branch 'trunk' into branch-feature-AMBARI-20859
rlevas Jan 15, 2018
473df03
Merge pull request #120 from rlevas/branch-feature-AMBARI-20859
rlevas Jan 15, 2018
23e51fa
Merge pull request #106 from smolnar82/AMBARI-22668
rlevas Jan 15, 2018
7be21c9
AMBARI-22779. Cannot scale cluster if Ambari Server restarted since b…
adoroszlai Jan 14, 2018
79704f5
AMBARI-22789. Fix Log Search / Log Feeder / Infra Manager start scripts
oleewere Jan 15, 2018
2dbb455
AMBARI-22787 - Add new Ambari Infra Manager component to Ambari infra…
kasakrisz Jan 16, 2018
b8c0393
Merge pull request #124 from kasakrisz/infra-manager-stack-code
oleewere Jan 16, 2018
4653253
AMBARI-22793. Notification popover layout issues
hiveww Jan 16, 2018
90b1438
AMBARI-22785: added force_tcp option to KRB5 configuration template s…
Jan 16, 2018
5627a3f
AMBARI-22796. Widget menu goes out of bounds (alexantonenko)
hiveww Jan 16, 2018
7235069
AMBARI-22667: fix commons-io version
Jan 15, 2018
199e866
Merge pull request #92 from hiveww/AMBARI-22767-trunk
hiveww Jan 16, 2018
9804cb2
Merge pull request #127 from hiveww/AMBARI-22793-trunk
hiveww Jan 16, 2018
a2a45aa
AMBARI-22794 Opacity decreased and the shadow has been added to the s…
tobias-istvan Jan 16, 2018
ad9bcb6
Merge pull request #129 from smolnar82/AMBARI-22785
rlevas Jan 17, 2018
90b7c14
AMBARI-22726. Fix dependent tests in BlueprintImplTest (#133)
ReedOei Jan 17, 2018
6f4063b
Merge remote-tracking branch 'upstream/trunk' into branch-feature-AMB…
rlevas Jan 17, 2018
5582d29
Merge remote-tracking branch 'upstream/trunk' into branch-feature-AMB…
rlevas Jan 17, 2018
5ba3cd3
AMBARI-22577. Migrate user data for upgrade to improved user account …
rlevas Jan 17, 2018
9d33096
Merge pull request #135 from rlevas/branch-feature-AMBARI-20859
rlevas Jan 17, 2018
505dd21
AMBARI-22806.Unable to delete files from HDFS using Ambari File View …
venkatasairaml Jan 18, 2018
1a6548a
AMBARI-22792. Refactor agent-side kerberos code (echekanskiy)
Jan 15, 2018
a73d58b
AMBARI-22807. Admin View: Add/Delete Group succeeds, but the group ta…
hiveww Jan 18, 2018
b0f03b2
AMBARI-22809. Tez shown in red in the left nav for no apparent reason…
hiveww Jan 18, 2018
347f6fe
AMBARI-22796. Widget menu goes out of bounds. review (alexantonenko)
hiveww Jan 18, 2018
74389dd
AMBARI-22792. Refactor agent-side kerberos code - import fix (echekan…
hellozyemlya Jan 18, 2018
6ecbcbe
Merge pull request #136 from rlevas/AMBARI-22577
rlevas Jan 18, 2018
1eca676
Merge pull request #147 from apache/branch-feature-AMBARI-20859
rlevas Jan 18, 2018
cd5fdaa
AMBARI-22812. Fix checkstyle error in UpgradeCatalog300Test (#148)
rlevas Jan 18, 2018
7e0eaa0
Merge pull request #144 from echekanskiy/AMBARI-22792-trunk-import-fix
rlevas Jan 18, 2018
76d9a32
[AMBARI-22725] Expose Conditional Elements For Tasks on Upgrade
Jan 10, 2018
b0b6106
AMBARI-22795 LogSearch Fixes for LogList Display. (Istvan Tobias via …
tobias-istvan Jan 19, 2018
8c870c3
AMBARI-22808 Ambari-Web: Fix randomly failing unit tests
atkach Jan 18, 2018
881b464
AMBARI-22788 Unsightly artifacts during Login. (atkach)
atkach Jan 15, 2018
5cd72ce
Merge pull request #151 from jonathan-hurley/AMBARI-22725-trunk-cherr…
jonathan-hurley Jan 19, 2018
b434663
AMBARI-22697. Throw exception when keytab creation fails due to wrong…
aajisaka Jan 16, 2018
cdf3f62
[AMBARI-22798] Role authorization AMBARI.MANAGE_CONFIGURATION is not …
rlevas Jan 19, 2018
a3f26e5
AMBARI-22818. Log Feeder: refactor - create plugin api
oleewere Jan 10, 2018
d54d340
[AMBARI-22820] Fix KerberosOperationHandlerTests due to changes from …
rlevas Jan 20, 2018
f837a6c
AMBARI-22805. Blueprints do not handle some failures properly
adoroszlai Jan 16, 2018
c70de92
AMBARI-22716: zeppelin.livy.url is not getting updated after moving l…
prabhjyotsingh Jan 22, 2018
e1ff339
AMBARI-22698: Custom zeppelin interpreter properties are getting remo…
prabhjyotsingh Jan 22, 2018
bf1e2ca
Merge pull request #161 from prabhjyotsingh/AMBARI-22716
nitirajrathore Jan 22, 2018
a027d91
Merge pull request #162 from prabhjyotsingh/AMBARI-22698
nitirajrathore Jan 22, 2018
980bf24
Merge pull request #139 from venkatasairamlanka/AMBARI-22806-trunk
nitirajrathore Jan 22, 2018
b275722
AMBARI-22696 Whitelist execute latency from Storm Ambari metrics
HeartSaVioR Jan 22, 2018
367b7cb
Merge pull request #142 from hiveww/AMBARI-22809-trunk
hiveww Jan 23, 2018
eed3a36
Merge pull request #140 from hiveww/AMBARI-22807-trunk
hiveww Jan 23, 2018
2de9543
Merge pull request #130 from hiveww/AMBARI-22796-trunk
hiveww Jan 23, 2018
858fbd2
AMBARI-22759 [Hive Views 2.0] Deleting a Saved query is Buggy when Mu…
Jan 23, 2018
d2aee2e
Merge branch 'trunk' into branch-feature-AMBARI-14714
mradha25 Jan 23, 2018
687f54e
Fix compilation issues after trunk merge (mradhakrishnan)
mradha25 Jan 23, 2018
a154c92
Fix compilation issues in tests after trunk merge
adoroszlai Jan 24, 2018
c4f81c0
AMBARI-22797. The stup-ldap tool should persists its output into Amba…
Jan 19, 2018
28c5e6b
AMBARI-22797. Removed redundant information from the JSON payload
Jan 21, 2018
f3906f6
AMBARI-22797. Removing 'is_root' check from setup-ldap (according to …
Jan 21, 2018
0b70e3c
AMBARI-22797. Better CLI option names
Jan 21, 2018
663599a
AMBARI-22797. Fixed error message
Jan 21, 2018
14a42ad
AMBARI-22797. Created constants to avoid typos
Jan 21, 2018
640408b
AMBARI-22797. Dot not filter for PAM only; we should inform the end u…
Jan 21, 2018
9d07d74
AMBARI-22797. Removed redundant constant (one already existed with th…
Jan 21, 2018
4d67e34
AMBARI-22797. Fixed CLI option names under Windows
Jan 22, 2018
a7dd2be
AMBARI-22712. Update install Wizard layout. Second patch. (akovalenko)
aleksandrkovalenko Jan 24, 2018
2d8d32a
AMBARI-22776 Ambari Blueprint 3.0/3.1 database tables and JPA objects…
benyoka Jan 24, 2018
80d840e
[AMBARI-22817] Update backend code to handle new versioning schema. (…
vbrodetskyi Jan 25, 2018
947d7e7
AMBARI-22805. Improve Blueprints error handling in case of timeout (#…
adoroszlai Jan 25, 2018
aba4f77
[AMBARI-22815] Change requiredServices in metainfo xml (#181)
d0zen1 Jan 25, 2018
1805903
AMBARI-22572. During cluster installation bower cannot resolve angula…
hiveww Jan 25, 2018
17c245f
AMBARI-22572. During cluster installation bower cannot resolve angula…
hiveww Jan 25, 2018
34f6fa3
AMBARI-22776 Fix DDL issues resulting from incomplete table rename (b…
benyoka Jan 25, 2018
a50d926
Merge pull request #192 from hiveww/AMBARI-22572-trunk
hiveww Jan 25, 2018
e836608
AMBARI-22413 fix tar_archive.archive_directory_dereference (benyoka) …
benyoka Jan 25, 2018
1d531ce
AMBARI-22846. Get rid of Murmur Hash usage in Log Feeder for log events
oleewere Jan 25, 2018
c5db4ab
Merge pull request #198 from oleewere/AMBARI-22846-trunk
oleewere Jan 26, 2018
19a8e75
AMBARI-22799 - define scheduling of archiving Infra Solr Documents
kasakrisz Jan 16, 2018
d7ddb30
AMBARI-22840 Standardize precision when expressing durations
atkach Jan 25, 2018
6497714
AMBARI-22782. Fix Namenode alerts broken due to enabling federation (…
aonishuk Jan 15, 2018
ddf9618
AMBARI-22853. NFS Gateway is not logging at the correct location (aon…
aonishuk Jan 26, 2018
26f178c
AMBARI-22851 Host Details page style fixes
atkach Jan 26, 2018
0d00922
AMBARI-22861. Ambari UI for Scheduler configuration is trimming = fro…
hiveww Jan 28, 2018
d19d5cb
AMBARI-22862. Ambari admin breaks cause of responseInterceptors property
hiveww Jan 28, 2018
3a08e39
AMBARI-22861. Ambari UI for Scheduler configuration is trimming = fro…
hiveww Jan 28, 2018
e3b401c
Merge pull request #210 from hiveww/AMBARI-22861-trunk
hiveww Jan 28, 2018
97b3be0
Merge pull request #211 from hiveww/AMBARI-22862-trunk
hiveww Jan 28, 2018
137d82e
[AMBARI-22845] Update service metainfo schema (#194)
d0zen1 Jan 29, 2018
d4467fb
AMBARI-22561. Need to address HDP-GPL repo update after user accepts …
aonishuk Jan 28, 2018
b3395b4
AMBARI-22855. Log Search: using shipperconfig api should be configurable
oleewere Jan 26, 2018
4a9e13c
AMBARI-22824. Let YARN/MR2 use ZK principal name set by users when en…
smolnar82 Jan 29, 2018
c37068a
AMBARI-22847. Let HBase use ZK principal name set by users when enabl…
Jan 26, 2018
8ec17e3
AMBARI-22860. Support external zookeeper for Infra Solr and Log Search
oleewere Jan 27, 2018
6f6625f
Merge pull request #209 from oleewere/AMBARI-22860-trunk
oleewere Jan 29, 2018
9d80433
AMBARI-22866. Log Search: Add userList query for audit log requests.
oleewere Jan 29, 2018
50208d3
Merge pull request #215 from oleewere/AMBARI-22866-trunk
oleewere Jan 29, 2018
8b5cf83
AMBARI-22867 Add new state for Not Available data in Heatmap widget
atkach Jan 29, 2018
9916dcd
AMBARI-22712. Update install Wizard layout. Third patch. (akovalenko)
aleksandrkovalenko Jan 29, 2018
2b513fa
[AMBARI-22858] First prereq not displaying for Free IPA method in Ena…
rlevas Jan 26, 2018
995b5d4
AMBARI-22791 support for parsing MulitE blueprints and cluster templa…
benyoka Jan 29, 2018
f93067a
AMBARI-22873: Remove HDP 3.0 stack from Ambari (jluniya)
jayush Jan 29, 2018
f9245e2
Merge pull request #224 from jayush/AMBARI-22873-trunk
jayush Jan 29, 2018
2e81537
AMBARI-22865. Moving out get_service_component_meta to DefaultStackAd…
Jan 29, 2018
dcb871b
AMBARI-22878: Update Service Group API to take list of mpack name ass…
scottduan Jan 30, 2018
86beb8e
AMBARI-22869. Log Search: use default page and pageSize to log reques…
oleewere Jan 29, 2018
82e8f08
AMBARI-22874. Log Search: Return with 500 error for shipper config te…
oleewere Jan 29, 2018
dd14942
Merge pull request #223 from oleewere/AMBARI-22874-trunk
oleewere Jan 30, 2018
5a17cb6
AMBARI-22879 Ambari makes unrelated changes to zookeeper quorum confi…
atkach Jan 30, 2018
feb6f7d
AMBARI-20908 : Kafka advertised.listeners replaced in Kerberos Mode (…
mradha25 Jan 30, 2018
130fbbf
[AMBARI-22876] Disable consecutive authentication failure account loc…
rlevas Jan 30, 2018
e40e7e5
[AMBARI-22882] Long cannot be cast to String error when changing a us…
rlevas Jan 30, 2018
02105de
Merge pull request #175 from Akhilsnaik/AMBARI-22759_hive20
venkatasairaml Jan 31, 2018
a69872e
AMBARI-22841. Fix upgrade-catalog after accordingly to kerberos chang…
hellozyemlya Jan 22, 2018
cf58132
[AMBARI-22881] Added user_authentication_id_seq into ambari_sequences…
smolnar82 Jan 31, 2018
0bc48df
AMBARI-22830. Ambari-agent puts Python scripts in 2.6 directory on OS…
aonishuk Jan 31, 2018
b2e792e
AMBARI-22893: Update rat check rules for stack files (jluniya)
jayush Feb 1, 2018
bee9c2b
AMBARI-22864. Agent commands hang even after freeing up disk space on…
aonishuk Jan 31, 2018
b9e101b
[AMBARI-22712] Update install Wizard layout. Fourth patch. (#247)
aleksandrkovalenko Feb 1, 2018
9e40dcb
AMBARI-22884. LogSearch Integration should call newer API to obtain l…
oleewere Jan 31, 2018
448923b
Merge pull request #236 from oleewere/AMBARI-22884-trunk
oleewere Feb 1, 2018
d9e90e9
[AMBARI-22888] Cancel operation during package deployment causing rep…
hapylestat Feb 1, 2018
ab05dde
AMBARI-22890. LogSearch Integration support for external Shared LogSe…
oleewere Jan 31, 2018
c79bd21
Merge pull request #242 from oleewere/AMBARI-22890-trunk
oleewere Feb 1, 2018
ce5309a
Merge pull request #243 from jayush/AMBARI-22893-trunk
jayush Feb 1, 2018
00f29b9
[AMBARI-22875] Blueprint cluster creation using manually installed mp…
adoroszlai Feb 1, 2018
e97eb29
AMBARI-22878: Update Service Group API to take list of mpack name ass…
scottduan Jan 30, 2018
da41ca0
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
scottduan Feb 1, 2018
c88e0a1
[AMBARI-22885] LDAP sync fails with 'LDAP is not configured' error af…
smolnar82 Feb 2, 2018
3869055
AMBARI-22900 Log Search UI: implement 'History' functionality
aBabiichuk Feb 2, 2018
ea23811
AMBARI-22614. Fix some unit tests
adoroszlai Feb 1, 2018
40549ef
[AMBARI-22889] LDAP configuration is not reloaded in Guice
smolnar82 Feb 2, 2018
79504f7
AMBARI-22835 Log Search UI: implement log level filter
aBabiichuk Feb 3, 2018
158cd85
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
scottduan Feb 1, 2018
decbf54
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
scottduan Feb 5, 2018
05ad34b
AMBARI-22905. Supporting old CLI option names in setup-ldap tool
Feb 5, 2018
fee42d5
AMBARI-22909 Log Search UI: implement filter by username for access logs
aBabiichuk Feb 5, 2018
746a0b8
Merge pull request #259 from smolnar82/AMBARI-22905
zeroflag Feb 5, 2018
505a1ec
AMBARI-22712. Update install Wizard layout. Fifth patch. (akovalenko)
aleksandrkovalenko Feb 5, 2018
ef801ac
AMBARI-22911 Log Search UI: move Capture button to top menu
aBabiichuk Feb 5, 2018
7412206
AMBARI-22912 Host details page: components not reconfigured after del…
atkach Feb 5, 2018
8c153a1
[AMBARI-22914] Oracle DDL is broken at trunk
rlevas Feb 5, 2018
9a3a920
[AMBARI-22886] Infra Manager: store s3 credentials in Hadoop credenti…
kasakrisz Feb 6, 2018
ccd9836
AMBARI-22915 Dashboard-Metrics page style edits
atkach Feb 6, 2018
7ee8c61
[AMBARI-22910] Add Ambari admin/pw CLI options for setup-ldap tool
smolnar82 Feb 6, 2018
f751357
AMBARI-22917. Log Search make logsearch maven build to independent fr…
oleewere Feb 6, 2018
dd164b8
AMBARI-22903. Log Search: Add Knox to docker dev env (#265)
oleewere Feb 6, 2018
f881d41
AMBARI-22833 : change commons-collections-3.2.1.jar being used by amb…
nitirajrathore Feb 6, 2018
3fa3965
AMBARI-22921. Unable to enable hive interactive, LLAP, on our Ambari …
aonishuk Feb 6, 2018
376f94d
[AMBARI-22913]. Add ability to MasterHostResolver to resolve by names…
zeroflag Feb 6, 2018
c9d614e
AMBARI-22902. Changed description of Kadmin Host
Feb 6, 2018
aedcb74
[AMBARI-22904] Revised mpack APIs (#252)
mradha25 Feb 6, 2018
ab46eaa
[AMBARI-22854] Fix running service checks with new mpack definitions …
d0zen1 Feb 7, 2018
260876c
Merge trunk into branch-feature-AMBARI-14714
d0zen1 Feb 7, 2018
4f521a9
Branch feature ambari 14714 (#291)
mradha25 Feb 7, 2018
5ad8a97
Merge trunk into branch-feature-AMBARI-14714 - Fix merge issues (jlun…
jayush Feb 9, 2018
68c1f04
Merge remote-tracking branch 'upstream/branch-feature-AMBARI-14714' i…
scottduan Feb 9, 2018
8383d16
Branch feature ambari 14714 (#307)
mradha25 Feb 9, 2018
a2340a6
Merge remote-tracking branch 'upstream/branch-feature-AMBARI-14714' i…
scottduan Feb 9, 2018
04345f8
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
scottduan Feb 9, 2018
90f354f
Merge remote-tracking branch 'upstream/branch-feature-AMBARI-14714' i…
scottduan Feb 9, 2018
b4b543e
AMBARI-22971: Remove current_mpack_id to mpack_id in stacks table (jl…
jayush Feb 13, 2018
5536edb
AMBARI-22971: Remove current_mpack_id to mpack_id in stacks table (jl…
jayush Feb 13, 2018
e527898
Merge pull request #332 from jayush/AMBARI-22971-branch-feature-AMBAR…
jayush Feb 13, 2018
dbca47d
[AMBARI-22957] Stack Metainfo.xml should contain the osSpecifics tag
mradha25 Feb 13, 2018
5a7ed0d
Merge pull request #333 from mradha25/AMBARI-22957-branch-feature-AMB…
mradha25 Feb 13, 2018
d73b80b
[AMBARI-22980] Commenting out stack_features and stack_select calls u…
mradha25 Feb 13, 2018
2cb6fca
[AMBARI-22980] Issue warnings when stack select tool is not present
mradha25 Feb 14, 2018
90aca63
[AMBARI-22995] Remove deprecated Upgrade Packs
Feb 15, 2018
acdeb1e
Merge pull request #344 from mradha25/RM_cleanup_branch-branch-featur…
mradha25 Feb 15, 2018
54da5c0
[AMBARI-22992] Update error handling during mpack installation (#363)
mradha25 Feb 15, 2018
a331735
Merge remote-tracking branch 'upstream/branch-feature-AMBARI-14714' i…
scottduan Feb 9, 2018
3de0e93
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
Feb 16, 2018
f74af11
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
Feb 16, 2018
afc6a3b
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
Feb 18, 2018
40e5585
[AMBARI-22980] Correct the name of the repo_suse_rhel_template
mradha25 Feb 16, 2018
859dbef
[AMBARI-23036] Create Lifecycle changes for Upgrade Packs (#430)
Feb 21, 2018
998d453
[AMBARI-23004] Create initial version of InstanceManager to create in…
d0zen1 Feb 15, 2018
7c4070c
Changes according to the review + general improvements
d0zen1 Feb 22, 2018
d8be60c
[AMBARI-23004] Create initial version of InstanceManager to create in…
d0zen1 Feb 22, 2018
52d58cd
AMBARI-22649. settings library should convert true/false to boolean
adoroszlai Feb 20, 2018
fb3e005
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
Feb 18, 2018
7bcd6fe
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
Feb 22, 2018
1ae465f
AMBARI-22979: Update software registry API to support new mpack schem…
jayush Feb 22, 2018
cfe5295
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
Feb 22, 2018
d370602
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
Feb 22, 2018
7675ce8
[AMBARI-22883] A new REST API: GET /api/v1/hosts?format=summary or /a…
scottduan Feb 22, 2018
133febc
[AMBARI-23053] Rename NON-ROLLING to EXPRESS
Feb 22, 2018
59998a8
Merge branch 'AMBARI-22878-branch-feature-AMBARI-14714' of https://gi…
jayush Feb 22, 2018
6912c65
Merge branch 'scottduan-AMBARI-22878-branch-feature-AMBARI-14714' int…
jayush Feb 22, 2018
396e488
AMBARI-22995. Remove deprecated Upgrade Packs - after reintroduced by…
adoroszlai Feb 22, 2018
ca74819
AMBARI-22883. NPE in HostResourceDefinition (#458)
adoroszlai Feb 23, 2018
fd5cd29
AMBARI-22878. Fix unit tests broken by reference to non-existent stac…
adoroszlai Feb 23, 2018
d341c7a
AMBARI-22614 fix some unit tests (benyoka) (#461)
benyoka Feb 24, 2018
e11e182
AMBARI-22878. Fix unit tests (#473)
adoroszlai Feb 26, 2018
04110f7
Few more unit test fixes (#486)
adoroszlai Feb 28, 2018
d2dc2b9
[AMBARI-22854] Fix running service checks with new mpack definitions …
d0zen1 Feb 28, 2018
066d2a3
AMBARI-22875. Use mpacks specified in cluster creation request (#444)
adoroszlai Feb 28, 2018
5fe16da
AMBARI-22875. Fix unit tests (#507)
adoroszlai Mar 1, 2018
e809633
[AMBARI-23032] fix exceptions, export cluster settings and single mpa…
benyoka Mar 1, 2018
a65cbde
AMBARI-22875. Exclude generated sources from checkstyle (#512)
adoroszlai Mar 1, 2018
fe7dd4c
AMBARI-23107 - Deprecate Repo Versions And Start Tracking Repo OS's F…
jonathan-hurley Mar 1, 2018
33b68bb
AMBARI-22875. Add missing license (#519)
adoroszlai Mar 1, 2018
543054f
AMBARI-22883. Count of each OS type is always 1 (#516)
adoroszlai Mar 1, 2018
d7bcc61
[AMBARI-23121] Fix few instance manager issues found during ZK deplom…
d0zen1 Mar 2, 2018
204e82b
[Ambari 23125] Move check-properties XML (#521)
Mar 2, 2018
5f77e08
AMBARI-23053. Fix unexpected indent in kafka_broker.py (#535)
adoroszlai Mar 4, 2018
9839aa3
AMBARI-22883. Let HostSummaryRenderer add Hosts/os_type property to t…
adoroszlai Mar 5, 2018
2c844e8
AMBARI-22945. Enhance host components API to support multiple host co…
swapanshridhar Mar 5, 2018
49fa0ac
Merge pull request #477 from swapanshridhar/AMBARI-22945-branch-featu…
swapanshridhar Mar 5, 2018
28ea5b9
[Ambari 23133] Hooks scripts has hadoop specific code
mradha25 Mar 6, 2018
86d77c9
[AMBARI-23120] Create helper functions for using new instance manager…
d0zen1 Mar 6, 2018
b42008c
[AMBARI-23120] Create helper functions for using new instance manager…
d0zen1 Mar 6, 2018
91b2116
AMBARI-23147 - Expose Repository CRUD via the Mpack Endpoint (#552)
jonathan-hurley Mar 6, 2018
655e7c7
AMBARI-23158. Fix NPE in Host Components query.
swapanshridhar Mar 6, 2018
ae041c9
Merge pull request #566 from swapanshridhar/AMBARI-23158-branch-featu…
swapanshridhar Mar 6, 2018
f4cdbe8
[AMBARI-23130] Persist cluster creation request (#559)
benyoka Mar 7, 2018
f471285
AMBARI-22614 fix OrmTestHelper to support mpacks in unit tests (benyo…
benyoka Mar 7, 2018
f7c0240
AMBARI-23156. Remove Required Group Name and Expose Lifecycle to API
Mar 6, 2018
47cb5b6
AMBARI-23167 - StackOverflowError thrown during cluster creation
Mar 7, 2018
862f390
[AMBARI-23170] Instance manager json output should have the same stru…
d0zen1 Mar 7, 2018
842b847
AMBARI-23175. Fix for PUT Host Component API failing because validati…
swapanshridhar Mar 7, 2018
364cf4a
AMBARI-23175. Fix for PUT Host Component API failing because validati…
swapanshridhar Mar 7, 2018
146518d
AMBARI-23176 - Some Minor Fixes For Failing Tests Due to Repo Version…
jonathan-hurley Mar 8, 2018
72a4867
Merge pull request #582 from d0zen1/AMBARI-23170-branch-feature-AMBAR…
d0zen1 Mar 8, 2018
c815217
[AMBARI-22875] Adopt changes in Host Component API for Blueprint clus…
adoroszlai Mar 8, 2018
154266f
[AMBARI-23177] Yarn-MR separation and minor deployment fixes (#588)
mradha25 Mar 8, 2018
79a4eb6
AMBARI-23183. Revert UI changes made to branch : branch-feature-AMBAR…
swapanshridhar Mar 8, 2018
4375329
AMBARI-23183. Revert UI changes made to branch : branch-feature-AMBAR…
swapanshridhar Mar 8, 2018
5be3604
[Ambari-22990] Provide Bootstrap test connection feature (#530)
scottduan Mar 9, 2018
889e7a3
Merge branch-feature-AMBARI-14714 into branch-feature-AMBARI-14714-ui
ishanbha Mar 9, 2018
f7d5319
Add newline to avoid audit failures
ishanbha Mar 9, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/usr/bin/env python
"""
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Ambari Agent

"""


def get_mpack_name(config):
return config['hostLevelParams']['stack_name']


def get_mpack_version(config):
return config['hostLevelParams']['stack_version']


def get_mpack_instance_name(config):
return config['serviceGroupName']


def get_module_name(config):
return config['serviceName']


def get_component_type(config):
return config['role']


def get_component_instance_name(config):
return "default"
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from resource_management.libraries.script import Script
from resource_management.core.logger import Logger
from resource_management.libraries.functions.default import default
from resource_management.libraries.functions.cluster_settings import get_cluster_setting_value, get_cluster_setting

def get_not_managed_resources():
"""
Expand All @@ -34,8 +35,8 @@ def get_not_managed_resources():
"""
config = Script.get_config()
not_managed_hdfs_path_list = json.loads(config['hostLevelParams']['not_managed_hdfs_path_list'])[:]
if 'managed_hdfs_resource_property_names' in config['configurations']['cluster-env']:
managed_hdfs_resource_property_names = config['configurations']['cluster-env']['managed_hdfs_resource_property_names']
if get_cluster_setting('managed_hdfs_resource_property_names') is not None:
managed_hdfs_resource_property_names = get_cluster_setting_value('managed_hdfs_resource_property_names')
managed_hdfs_resource_property_list = filter(None, [property.strip() for property in managed_hdfs_resource_property_names.split(',')])

for property_name in managed_hdfs_resource_property_list:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
"""
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Ambari Agent

"""

import os
from instance_manager import create_mpack, set_mpack_instance, get_conf_dir, list_instances

CONFIG_DIR_KEY_NAME = 'config_dir'
PATH_KEY_NAME = 'path'
COMPONENTS_PLURAL_KEY_NAME = 'components'
COMPONENT_INSTANCES_PLURAL_KEY_NAME = 'component-instances'


def get_component_conf_path(mpack_name, instance_name, module_name, components_instance_type,
subgroup_name='default', component_instance_name='default'):
"""
:returns the single string that contains the path to the configuration folder of given component instance
:raises ValueError if the parameters doesn't match the mpack or instances structure
"""

conf_json = get_conf_dir(mpack_name, instance_name, subgroup_name, module_name,
{components_instance_type: [component_instance_name]})

return conf_json[COMPONENTS_PLURAL_KEY_NAME][components_instance_type.lower()][COMPONENT_INSTANCES_PLURAL_KEY_NAME][
component_instance_name][CONFIG_DIR_KEY_NAME]


def get_component_target_path(mpack_name, instance_name, module_name, components_instance_type,
subgroup_name='default', component_instance_name='default'):
"""
:returns the single string that contains the path to the mpack component folder of given component instance
:raises ValueError if the parameters doesn't match the mpack or instances structure
"""

instances_json = list_instances(mpack_name, instance_name, subgroup_name, module_name,
{components_instance_type: [component_instance_name]})

return instances_json[COMPONENTS_PLURAL_KEY_NAME][components_instance_type.lower()][
COMPONENT_INSTANCES_PLURAL_KEY_NAME][component_instance_name][PATH_KEY_NAME]


def get_component_home_path(mpack_name, instance_name, module_name, components_instance_type,
subgroup_name='default', component_instance_name='default'):
"""
:returns the single string that contains the path to the module component folder of given component instance
:raises ValueError if the parameters doesn't match the mpack or instances structure
"""

component_path = get_component_target_path(mpack_name=mpack_name, instance_name=instance_name,
subgroup_name=subgroup_name,
module_name=module_name, components_instance_type=components_instance_type,
component_instance_name=component_instance_name)

return os.readlink(component_path)


def create_component_instance(mpack_name, mpack_version, instance_name, module_name, components_instance_type,
subgroup_name='default', component_instance_name='default'):
"""
creates the single component instance according to the parameters
:raises ValueError if the parameters doesn't match the mpack or instances structure
"""
create_mpack(mpack_name, mpack_version, instance_name, subgroup_name, module_name,
None, {components_instance_type: [component_instance_name]})


def set_component_instance_version(mpack_name, mpack_version, instance_name, module_name, components_instance_type,
subgroup_name='default', component_instance_name='default'):
"""
changes the version of the single component instance according to the parameters
:raises ValueError if the parameters doesn't match the mpack or instances structure
"""
set_mpack_instance(mpack_name, mpack_version, instance_name, subgroup_name, module_name,
None, {components_instance_type: [component_instance_name]})
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ def create_repo_files(self):
Creates repositories in a consistent manner for all types
:return: a dictionary with repo ID => repo file name mapping
"""
if self.command_repository.version_id is None:
if self.command_repository.mpack_id is None:
raise Fail("The command repository was not parsed correctly")

if 0 == len(self.command_repository.items):
Logger.warning(
"Repository for {0}/{1} has no repositories. Ambari may not be managing this version.".format(
self.command_repository.stack_name, self.command_repository.version_string))
self.command_repository.mpack_name, self.command_repository.version_string))
return {}

append_to_file = False # initialize to False to create the file anew.
Expand All @@ -73,7 +73,7 @@ def create_repo_files(self):
if not repository.ambari_managed:
Logger.warning(
"Repository for {0}/{1}/{2} is not managed by Ambari".format(
self.command_repository.stack_name, self.command_repository.version_string, repository.repo_id))
self.command_repository.mpack_name, self.command_repository.version_string, repository.repo_id))
else:
Repository(repository.repo_id,
action="create",
Expand Down Expand Up @@ -133,10 +133,9 @@ def __init__(self, repo_object):
else:
raise Fail("Cannot deserialize command repository {0}".format(str(repo_object)))

# version_id is the primary id of the repo_version table in the database
self.version_id = _find_value(json_dict, 'repoVersionId')
self.stack_name = _find_value(json_dict, 'stackName')
self.version_string = _find_value(json_dict, 'repoVersion')
self.mpack_id = _find_value(json_dict, 'mpackId')
self.mpack_name = _find_value(json_dict, 'mpackName')
self.version_string = _find_value(json_dict, 'mpackVersion')
self.repo_filename = _find_value(json_dict, 'repoFileName')
self.feat = CommandRepositoryFeature(_find_value(json_dict, "feature", default={}))
self.items = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@
from resource_management.libraries.functions.show_logs import show_logs
from resource_management.core.providers import get_provider
from resource_management.libraries.functions.fcntl_based_process_lock import FcntlBasedProcessLock
from resource_management.libraries.functions.config_helper import get_mpack_name, get_mpack_version, \
get_mpack_instance_name, get_module_name, get_component_type, get_component_instance_name

import ambari_simplejson as json # simplejson is much faster comparing to Python 2.6 json module and has the same functions set.

Expand Down Expand Up @@ -791,6 +793,21 @@ def load_available_packages(self):
Logger.exception("Unable to load available packages")
self.available_packages_in_repos = []

def create_component_instance(self):
# should be used only when mpack-instance-manager is available
from resource_management.libraries.functions.mpack_manager_helper import create_component_instance
config = self.get_config()
mpack_name = get_mpack_name(config)
mpack_version = get_mpack_version(config)
mpack_instance_name = get_mpack_instance_name(config)
module_name = get_module_name(config)
component_type = get_component_type(config)
component_instance_name = get_component_instance_name(config)

create_component_instance(mpack_name=mpack_name, mpack_version=mpack_version, instance_name=mpack_instance_name,
module_name=module_name, components_instance_type=component_type,
component_instance_name=component_instance_name)


def install_packages(self, env):
"""
Expand Down
12 changes: 11 additions & 1 deletion ambari-project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,13 @@
<artifactId>swagger-maven-plugin</artifactId>
<version>${swagger.maven.plugin.version}</version>
</dependency>
<dependency>
<groupId>org.inferred</groupId>
<artifactId>freebuilder</artifactId>
<version>1.14.8</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
Expand All @@ -508,7 +515,10 @@
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<sourceDirectories>
<sourceDirectory>src/main/java</sourceDirectory>
<sourceDirectory>src/test/java</sourceDirectory>
</sourceDirectories>
<linkXRef>false</linkXRef>
</configuration>
<executions>
Expand Down
4 changes: 4 additions & 0 deletions ambari-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1644,6 +1644,10 @@
<version>0.1.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.inferred</groupId>
<artifactId>freebuilder</artifactId>
</dependency>
</dependencies>

<pluginRepositories>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,11 @@ public enum ExperimentalFeature {
* For code that is for upgrading Mpacks. Use this to mark code that may ultimately
* be removed.
*/
MPACK_UPGRADES
MPACK_UPGRADES,

/**
* Used to mark code that is required for successful removal and refactoring
* when repo versions are dropped.
*/
REPO_VERSION_REMOVAL;
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,13 @@ public ServiceComponentHostNotFoundException(String clusterName,
+ ", hostName=" + hostName);
}

public ServiceComponentHostNotFoundException(String clusterName,
String serviceName, Long serviceComponentId, String hostName) {
super("ServiceComponentHost not found"
+ ", clusterName=" + clusterName
+ ", serviceName=" + serviceName
+ ", serviceComponentId=" + serviceComponentId
+ ", hostName=" + hostName);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@

import java.util.List;

import org.apache.ambari.server.orm.dao.HostVersionDAO;
import org.apache.ambari.server.orm.dao.ServiceComponentDesiredStateDAO;
import org.apache.ambari.server.orm.entities.HostVersionEntity;
import org.apache.ambari.server.orm.entities.ServiceComponentDesiredStateEntity;
import org.apache.ambari.server.api.services.AmbariMetaInfo;
import org.apache.ambari.server.orm.dao.MpackHostStateDAO;
import org.apache.ambari.server.orm.entities.MpackHostStateEntity;
import org.apache.ambari.server.state.Mpack;
import org.apache.ambari.server.state.RepositoryVersionState;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand All @@ -39,48 +39,41 @@ public class StateRecoveryManager {
private static final Logger LOG = LoggerFactory.getLogger(StateRecoveryManager.class);

@Inject
private HostVersionDAO hostVersionDAO;
private MpackHostStateDAO mpackHostStateDAO;

/**
* Used for looking up {@link Mpack} instances by IDs.
*/
@Inject
private ServiceComponentDesiredStateDAO serviceComponentDAO;
private AmbariMetaInfo ambariMetaInfo;

public void doWork() {
checkHostAndClusterVersions();
updateManagementPackInstallationState();
}

void checkHostAndClusterVersions() {
List<HostVersionEntity> hostVersions = hostVersionDAO.findAll();
for (HostVersionEntity hostVersion : hostVersions) {
if (hostVersion.getState().equals(RepositoryVersionState.INSTALLING)) {
hostVersion.setState(RepositoryVersionState.INSTALL_FAILED);
/**
* Resets any management pack installation states from
* {@link RepositoryVersionState#INSTALLING} to
* {@link RepositoryVersionState#INSTALL_FAILED}.
*/
void updateManagementPackInstallationState() {
List<MpackHostStateEntity> mpackHostStates = mpackHostStateDAO.findAll();
for (MpackHostStateEntity mpackHostState : mpackHostStates) {
if (mpackHostState.getState() == RepositoryVersionState.INSTALLING) {
mpackHostState.setState(RepositoryVersionState.INSTALL_FAILED);

Mpack mpack = ambariMetaInfo.getMpack(mpackHostState.getMpackId());

String msg = String.format(
"Recovered state of host version %s on host %s from %s to %s",
hostVersion.getRepositoryVersion().getDisplayName(),
hostVersion.getHostName(),
"The installation state of management pack %s on host %s was set from %s to %s",
mpack.getName(),
mpackHostState.getHostName(),
RepositoryVersionState.INSTALLING,
RepositoryVersionState.INSTALL_FAILED);
LOG.warn(msg);
hostVersionDAO.merge(hostVersion);
}
}

List<ServiceComponentDesiredStateEntity> components = serviceComponentDAO.findAll();
for (ServiceComponentDesiredStateEntity component : components) {
if (RepositoryVersionState.INSTALLING == component.getRepositoryState()) {
component.setRepositoryState(RepositoryVersionState.INSTALL_FAILED);
serviceComponentDAO.merge(component);
String msg = String.format(
"Recovered state of cluster %s of component %s/%s for version %s from %s to %s",
component.getClusterId(),
component.getServiceId(),
component.getComponentName(),
component.getDesiredRepositoryVersion().getDisplayName(),
RepositoryVersionState.INSTALLING,
RepositoryVersionState.INSTALL_FAILED);
LOG.warn(msg);
mpackHostStateDAO.merge(mpackHostState);
}
}
}


}
Loading