Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4774 commits
Select commit Hold shift + click to select a range
450ec05
AMBARI-22378 BI 4.2.5 repoinfo misses the redhat-ppc7 section (dili)
dilica Nov 8, 2017
f4f9d68
AMBARI-22384. Disable HDP 2.3 stack. (swagle)
swagle Nov 8, 2017
3417682
AMBARI-22373.Disable auto config of interpreter.json at the time of i…
venkatasairaml Nov 9, 2017
d69fc37
AMBARI-22389. Exclude test scope jars from Log Search / Log Feeder rp…
oleewere Nov 9, 2017
e58a30d
AMBARI-22398. Upstart is not able to stop the ambari-agent (aonishuk)
aonishuk Nov 9, 2017
698aabb
AMBARI-22338 : Review Request for new HDP StackFeatures entry(mradhak…
mradha25 Nov 9, 2017
042ecac
AMBARI-22389. Addendum - Exclude test scope jars from Log Search / Lo…
oleewere Nov 9, 2017
927772c
AMBARI-22386 - Patch Upgrades Broken For Clients Due To Versioned LD …
Nov 8, 2017
bc29311
AMBARI-22248. HBase default.rootdir config results in deploy failure …
Nov 9, 2017
9eecc56
AMBARI-22303. Spark history server is stopped (with umask 027 and cus…
aonishuk Nov 10, 2017
a62d3b6
AMBARI-22346. Beeline connection hangs for longer time when connectio…
aonishuk Nov 10, 2017
23cd02e
AMBARI-22411. Restart all required services failed when running clust…
Nov 10, 2017
a9af58a
AMBARI-22417. Ambari checks fail with FIPS mode is activated on the O…
rlevas Nov 13, 2017
3153e2d
AMBARI-22387. Create a Pre-Upgrade Check Warning About LZO (dlysniche…
Nov 13, 2017
36f2ad4
AMBARI-22387. Create a Pre-Upgrade Check Warning About LZO. Fix impor…
Nov 13, 2017
6a09885
AMBARI-22318 repositoryFile entity populating for wrong repository fo…
hapylestat Nov 13, 2017
93820dd
AMBARI-22439 Host check operation is being performed on all hosts dur…
atkach Nov 14, 2017
a22f66f
AMBARI-22395. Log Feeder: cleanup checkpoint files periodically (olee…
oleewere Nov 14, 2017
334411f
AMBARI-22438 Disable plugins for yum on yum list command (dgrinenko)
hapylestat Nov 14, 2017
62876f5
AMBARI-22321 : Changed ambari version from 2.6.0.0 to 2.6.3.0. Addend…
mradha25 Nov 14, 2017
fe7c179
Revert "AMBARI-22383. Remove Auto-Installation of LZO Libraries (ncole)"
Nov 14, 2017
e91bee1
AMBARI-22398. Upstart is not able to stop the ambari-agent - fix unit…
adoroszlai Nov 15, 2017
56079f2
AMBARI-22448. Oozie Jobs on Hive Fail With Missing Tarball (ncole)
Nov 15, 2017
6e247b3
AMBARI-22444 - Add Native Libraries To Tez Tarball (jonathanhurley)
Nov 14, 2017
822fe2d
AMBARI-22445. Warn the user appropriately for default MySQL server in…
vivekratnavel Nov 15, 2017
a8496ee
AMBARI-22444 - Add Native Libraries To Tez Tarball (part2) (jonathanh…
Nov 15, 2017
26cf2cf
AMBARI-22260. Update Spark2 log4j default settings to latest. (sai.sa…
swapanshridhar Nov 16, 2017
81439af
AMBARI-22453. ambari-server setup should surface GPL software agreeme…
aonishuk Nov 16, 2017
658e76e
AMBARI-22460. NFSGateway start failed (aonishuk)
aonishuk Nov 16, 2017
46237fe
AMBARI-22453. ambari-server setup should surface GPL software agreeme…
aonishuk Nov 16, 2017
6cc05d9
AMBARI-22461. VDF defined HDP-GPL repo should be tagged appropriately…
Nov 16, 2017
3279bef
AMBARI-22444 - Add Native Libraries To Tez Tarball (part3) (jonathanh…
Nov 16, 2017
2951257
AMBARI-22431 Able to add config type if EU/RU of the same stack (mino…
dilica Nov 16, 2017
72785da
AMBARI-22444 - Add Native Libraries To Tez Tarball (part4) (jonathanh…
Nov 16, 2017
946356a
AMBARI-22459 IOP/HDP migration NN HA restart post Ambari upgrade fail…
dilica Nov 16, 2017
4b01b65
AMBARI-22453. ambari-server setup should surface GPL software agreeme…
aonishuk Nov 17, 2017
3df5ae7
AMBARI-22454. ambari-server upgrade to 2.6.1 should surface the GPL a…
aonishuk Nov 17, 2017
c09c69b
AMBARI-22464. disable hive.auto.convert.sortmerge.join in Hive config…
Nov 17, 2017
2f02bc6
Merge branch 'branch-2.6' into branch-feature-AMBARI-22457
Nov 17, 2017
f35fd4e
AMBARI-22454. ambari-server upgrade to 2.6.1 should surface the GPL a…
aonishuk Nov 17, 2017
a1d59b7
AMBARI-22468 : enabling hdfs and hive ranger plugin fails (mradhakris…
mradha25 Nov 17, 2017
fb65aab
AMBARI-22136 Enable server_action tasks defined in EU/RU upgrade pack…
dilica Nov 17, 2017
096fedb
AMBARI-22467. YARN, MapReduce2, Hive, and Oozie Should Conditionally …
aonishuk Nov 20, 2017
17f89c0
AMBARI-22471 : 'yum remove snappy' deletes ambari-metrics-collector. …
Nov 20, 2017
eecd851
AMBARI-22337 each service should be able to implement server actions,…
dilica Nov 20, 2017
1fce565
AMBARI-22480. Validate blueprint does not allow lzo enable without se…
swagle Nov 20, 2017
9d55c0f
AMBARI-22484. Stack advisor should disallow lzo enable without accept…
swagle Nov 20, 2017
a49be4a
AMBARI-22488 RU: Restarting HiveServer2 on RU failed (dgrinenko)
hapylestat Nov 21, 2017
0615fa0
BUG-91896. Moving Metrics Collector Forces ZooKeeper Server Install o…
hiveww Nov 21, 2017
519f527
AMBARI-22480. Validate blueprint does not allow lzo enable without se…
Nov 21, 2017
58c7f78
AMBARI-22486 - Conditionally Rebuild MapReduce and Tez Tarballs with …
Nov 20, 2017
c7457a8
Merge branch 'branch-2.6' into branch-feature-AMBARI-22457
aonishuk Nov 22, 2017
b7ed9aa
AMBARI-22494 Unable to install the cluster. (atkach)
atkach Nov 22, 2017
aea1a3c
AMBARI-22489. Port AMBARI-22467 to BigInsight (aonishuk)
aonishuk Nov 22, 2017
f769309
AMBARI-22497 Disk usage is not updated. (dgrinenko)
hapylestat Nov 22, 2017
92e362b
AMBARI-22469. Ambari upgrade failed (dlysnichenko)
Nov 22, 2017
c0fbb86
AMBARI-22500. Modify AMBARI-22387 to Check for LZO + No Opt-in (dlysn…
Nov 22, 2017
7f5b7d7
AMBARI-22472. Ambari Upgrade 2.5 -> 2.6 : Update NodeManager's HSI id…
swapanshridhar Nov 20, 2017
416570d
AMBARI-22501. stack advisor error while adding Druid service (alexant…
hiveww Nov 22, 2017
677e27e
AMBARI-22498. Remove trailing lines (if any) from llapstatus command …
swapanshridhar Nov 22, 2017
d301d34
AMBARI-22484. Stack advisor should disallow lzo enable without accept…
Nov 22, 2017
ba957a8
AMBARI-22454. ambari-server upgrade to 2.6.1 should surface the GPL a…
Nov 22, 2017
059fadf
AMBARI-22496. Admin View - Manage Versions page should show HDP-GPL r…
vivekratnavel Nov 23, 2017
8541829
AMBARI-22495. Installer - Select Version page should show HDP-GPL rep…
vivekratnavel Nov 23, 2017
bc8b391
AMBARI-22467. YARN, MapReduce2, Hive, and Oozie Should Conditionally …
aonishuk Nov 23, 2017
099e018
AMBARI-22502.Workflow Manager View - FS node will overwrite internal …
venkatasairaml Nov 23, 2017
c57e243
AMBARI-21569.Users randomly getting "HDFS020 Could not write file" ex…
venkatasairaml Nov 23, 2017
54bc2a2
AMBARI-22513 Make yumrpm.py functions to use global defined commands …
hapylestat Nov 24, 2017
0e2e711
AMBARI-22510. Handle new error type from Stack Advisor (akovalenko)
Nov 23, 2017
7c56924
AMBARI-20891 - Allow extensions to auto-link with supported stack ver…
May 9, 2017
d7b25ee
AMBARI-22137 - Different stack versions should be able to link to dif…
Oct 10, 2017
5fab8ff
AMBARI-22220 - Should be able to switch the extension version to whic…
Oct 16, 2017
c6825e9
AMBARI-22517. NPE during Ambari schema upgrade while updating Hive co…
swapanshridhar Nov 27, 2017
606d876
Merge branch 'branch-2.6' into branch-feature-AMBARI-22457
aonishuk Nov 27, 2017
cdc1ed6
AMBARI-22522 - Livy server fails to start during downgrade due to abs…
Nov 27, 2017
9c54948
AMBARI-22521. Log Search: Adding new dynamic field for service logs (…
oleewere Nov 27, 2017
812ded6
AMBARI-22187. Non-root ambari user causes Express Upgrade to fail dur…
aonishuk Nov 28, 2017
4fe795d
AMBARI-22526. Log Feeder: handle multiple '=' (split char) in key/val…
oleewere Nov 28, 2017
2cf8cb8
AMBARI-22525 - ATS start failed during patch upgrade due to CNF Spark…
Nov 27, 2017
8e35277
AMBARI-22458 - SNMP Trap should contain sysuptime field filled (Amarn…
Nov 28, 2017
3a68e51
AMBARI-22523. Service config changes on hdp + hdf cluster throws Cons…
Nov 20, 2017
473abc3
AMBARI-22458 - SNMP Trap should contain sysuptime field filled (unit …
Nov 28, 2017
66efd3d
AMBARI-22465 Post-Upgrade Tasks Use the Wrong Repository and Hooks Fo…
hapylestat Nov 28, 2017
3a0ae86
AMBARI-22480. Validate blueprint does not allow lzo enable without se…
Nov 28, 2017
7bd304f
AMBARI-22527 : Error while viewing topology details - Storm View (San…
mradha25 Nov 28, 2017
754b1f6
AMBARI-22535 - Remove extjs From Oozie Installations By Default (jona…
Nov 28, 2017
ed50bc3
Merge branch 'branch-2.6' into branch-feature-AMBARI-22457
Nov 28, 2017
c43673f
Merge branch 'branch-feature-AMBARI-22457' into branch-2.6
Nov 28, 2017
cd4db8e
AMBARI-22536 - Remove Deprecated Non-Versioned LZO Packages from LZO …
Nov 28, 2017
f4458df
AMBARI-22534 Package install fails with HDP-2.5.3/2.6.4.0 version at …
hapylestat Nov 29, 2017
4ebfc7c
AMBARI-22541. Oozie stop failed during IOP migration with missing mod…
aonishuk Nov 29, 2017
50cef51
AMBARI-22545 - Tie MapReduce to Hive and Tez For Patch Upgrades (jona…
Nov 29, 2017
52e1442
AMBARI-22542. Upgrade Ember and jquery version for Ambari Views (pall…
pallavkul Nov 29, 2017
6b5b1ca
AMBARI-22546. LZO Upgrade pre-check is missing from BigInsights Upgra…
Nov 29, 2017
f7ef0b3
AMBARI-22539. Cannot add host with host_name in request body
adoroszlai Nov 29, 2017
ec846e1
AMBARI-22547 - History and Hive server start failed during IOP migrat…
Nov 29, 2017
128c7fb
AMBARI-22554. UI should pass repo_name for repository validation (vsu…
vivekratnavel Nov 30, 2017
6db752c
AMBARI-22550. Service install/start failure due to wrong version dire…
adoroszlai Nov 29, 2017
70418a0
AMBARI-22559. Upgrade Ambari Infra to use Solr 5.5.5 for Ambari 2.6.1…
oleewere Nov 30, 2017
51bd023
AMBARI-22555. Update server setup to deny GPL as default. (swagle)
swagle Nov 30, 2017
2b49f45
AMBARI-22485 : Allow Ambari to support non-kerberos SASL mechanisms f…
mradha25 Nov 30, 2017
b89a94b
AMBARI-22555. Update server setup to deny GPL as default. Fixed for s…
swagle Nov 30, 2017
a06f69d
AMBARI-22505 : Kafka service check fails when using a non-root user i…
mradha25 Nov 30, 2017
1994e4a
AMBARI-22485 : Allow Ambari to support non-kerberos SASL mechanisms f…
mradha25 Nov 30, 2017
cc38ee8
AMBARI-22544. Upgrade from Ambari 2.5.2 to 2.6.0 fails. (mpapirkovskyy)
Nov 29, 2017
47ae2f8
AMBARI-22565. Repository validation fails for HDP-GPL. (mpapirkovskyy)
Nov 30, 2017
41329e3
AMBARI-22566. Upgrade Angular for Ambari Admin View (alexantonenko)
hiveww Nov 30, 2017
4b42857
AMBARI-22558. Snapshot HBase task failed during IOP migration with Ty…
Nov 30, 2017
2a731ac
AMBARI-22570. Repository Fields missing when register version is clic…
vivekratnavel Dec 1, 2017
306b9a5
AMBARI-22568 - Oozie Fails To Restart During Upgrade Because of Missi…
Nov 30, 2017
64cb27f
AMBARI-22537 : Storm jmxetric config not getting removed during patch…
mradha25 Dec 1, 2017
3ac717a
AMBARI-22561. Need to address HDP-GPL repo update after user accepts …
aonishuk Dec 1, 2017
76f401b
AMBARI-22572. During cluster installation bower cannot resolve angula…
hiveww Dec 1, 2017
fc17065
AMBARI-22573. Stack deploy fails because repo file is unable to be pa…
Dec 1, 2017
0b3b30b
AMBARI-22563. Packages Cannot Be Installed When Yum Transactions Fail…
Dec 1, 2017
2f62c47
AMBARI-22556 - Reduce load from STS health check (Mingjie Tang via jo…
Dec 1, 2017
2640bea
AMBARI-22485 : Allow Ambari to support non-kerberos SASL mechanisms f…
mradha25 Dec 1, 2017
754aa38
AMBARI-22445. Warn the user appropriately for default MySQL server in…
vivekratnavel Dec 2, 2017
51e26b8
AMBARI-22575. Broken Python Unit Tests in branch-2.6 (aonishuk)
aonishuk Dec 2, 2017
412bca2
AMBARI-22578. hive2 queries fails after adding any service to the clu…
Dec 4, 2017
2c181ac
AMBARI-22584. PERF 1.0 stack deployment failure in ambari-2.6.1. (mpa…
Dec 4, 2017
613dccb
Revert "AMBARI-22561. Need to address HDP-GPL repo update after user …
swagle Dec 4, 2017
83cbde7
Revert "AMBARI-22575. Broken Python Unit Tests in branch-2.6 (aonishuk)"
swagle Dec 4, 2017
3e8552e
AMBARI-22586 - Remove Beacon conf-select Changes Since It's Not Part …
Dec 4, 2017
dc969b4
AMBARI-22587. Storm service check failed during PU due to CNF StormAt…
Dec 4, 2017
ab1d01b
AMBARI-22588. Hive Client restart fails: hadooplzo package not presen…
swagle Dec 4, 2017
7aba191
Revert "AMBARI-22572. During cluster installation bower cannot resolv…
vivekratnavel Dec 5, 2017
bfca1bd
Revert "AMBARI-22566. Upgrade Angular for Ambari Admin View (alexanto…
vivekratnavel Dec 5, 2017
d8003b3
Revert "AMBARI-22588. Hive Client restart fails: hadooplzo package no…
swagle Dec 5, 2017
12c5e9c
AMBARI-22590 - Messages for some services during PU package installat…
Dec 4, 2017
e75e743
AMBARI-22594. Livy server start fails during EU with 'Address already…
Dec 5, 2017
7ec1302
AMBARI-22588. Hive Client restart fails: hadooplzo package not presen…
swagle Dec 5, 2017
dd00aa2
AMBARI-22590 - Messages for some services during PU package installat…
Dec 5, 2017
6be9145
AMBARI-22574 Failed to restart services on PPC cluster post Ambari up…
dilica Dec 5, 2017
8e64692
AMBARI-22561. Need to address HDP-GPL repo update after user accepts …
aonishuk Dec 5, 2017
8de808b
AMBARI-22591.MD interpreter fails with NPE (Zeppelin)(Prabhjyot Singh…
venkatasairaml Dec 6, 2017
f52e5f9
AMBARI-22596. Ambari Builds Are Failing With Python Test Errors (aoni…
aonishuk Dec 6, 2017
973ec46
AMBARI-22598 - Pig service check failed after PU with LzoCodec CNF (j…
Dec 5, 2017
b68b2ea
AMBARI-22600. LogFeeder: filters for wildcard input paths need to be …
oleewere Dec 5, 2017
2915d56
AMBARI-22492. A bad WebHDFS request is issued when starting Hive Meta…
zeroflag Dec 6, 2017
9079db2
AMBARI-22606. Service actions for R4ML not loaded (akovalenko)
Dec 6, 2017
3138cf0
AMBARI-22605. Tez service check hangs when adding service. (mpapirkov…
Dec 6, 2017
8eba6ad
AMBARI-22613 - Hive Queries Failing with Missing SnappyCodec Compress…
Dec 7, 2017
a63ee0e
AMBARI-22595. Livy2 keytabs are not getting configured automatically …
swapanshridhar Dec 7, 2017
bb47934
AMABRI-22616 noplugins switch should not be used for yum repos backed…
hapylestat Dec 8, 2017
c2e4afe
Updated Ambari version to 2.6.1.0.0.
swapanshridhar Dec 9, 2017
59b0b0c
Updating 'grafana.folder' version back to 2.6.0.
swapanshridhar Dec 9, 2017
5624f2c
AMBARI-22628 - YARN Shuffle Service Can't Be Found On Client-Only Nod…
Dec 11, 2017
207a8e3
AMBARI-22631. Hive MetaStore does not start even after passing the my…
Dec 12, 2017
edac2c6
AMBARI-22640 - HBase Cannot Find LZO Classes After Being Patched (jon…
Dec 12, 2017
cd880fd
AMBARI-22644 - Node Managers fail to start after Spark2 is patched du…
Dec 13, 2017
87ef706
AMBARI-22655 - Livy/Livy2 Unable To Start Due to Address Already In U…
Dec 15, 2017
b7c6ea9
AMBARI-22522 - Livy server fails to start during downgrade due to abs…
Dec 18, 2017
e1d95ff
AMBARI-22665 - Livy2 Does Not Start On HDP 2.6.0 to 2.6.3 (jonathanhu…
Dec 18, 2017
ab71b5a
AMBARI-22633. MapDate provides the date incorrectly when Filter is cl…
HeartSaVioR Dec 12, 2017
0cf1def
AMBARI-22630. Update the default storm log search configuration (use …
oleewere Dec 12, 2017
e04470d
AMBARI-22686. Disabled stack still appears in the UI if VDF is availa…
swagle Dec 21, 2017
953e59a
AMBARI-22676. [Patch Hive]webhcat: test_sqoop fails with hdfs:///hdp/…
Dec 19, 2017
2c761d3
AMBARI-22679. RU: Service action failed with NullPointer on Downgrade…
Dec 22, 2017
0f4ab0a
AMBARI-22694. For mixed OS deploy, some pig tests failed with MR job …
Dec 22, 2017
eef9983
AMBARI-22626.Zeppelin Interpreter settings are getting updated after …
venkatasairaml Dec 28, 2017
29ffc7e
AMBARI-22506.Incorrect pie chart distribution(Venkata Sairam)
venkatasairaml Dec 28, 2017
4d3d57b
AMBARI-22690 Registering existing hdp version failed with sql excepti…
hapylestat Jan 2, 2018
145438e
AMBARI-22693. UpgradeUserKerberosDescriptor is not executed during st…
rlevas Jan 2, 2018
8fce2a1
AMBARI-22718. Cannot set security.inter.broker.protocol: SASL_SSL via…
adoroszlai Jan 3, 2018
6e58ecc
AMBARI-22719. Regenerate Keytabs resets security.inter.broker.protoco…
adoroszlai Jan 3, 2018
41c362e
AMBARI-22678. Fix Broken Symlinks on Stack Distribution (dlysnichenko)
Dec 26, 2017
b5da60b
AMBARI-22723. Ambari Upgrade failed in case if database have no clust…
Jan 4, 2018
a020986
AMBARI-22629 Disabling Kerberos after enabled during Blueprint instal…
Dec 14, 2017
868949a
AMBARI-22419 Ambari upgrade failed (dgrinenko)
hapylestat Jan 5, 2018
680f737
AMBARI-22724. Idempotent issue on Ambari Upgrade, renameServiceDelete…
Jan 5, 2018
2e059c1
AMBARI-22718. ADDENDUM Cannot set security.inter.broker.protocol: SAS…
adoroszlai Jan 11, 2018
21fb855
AMBARI-22635: Ambari should create a dummy core-site.xml for Ranger p…
Dec 14, 2017
af5ce3f
AMBARI-20797 : Ambari Metrics Storm Sink compilation error due to sto…
Jetly-Jaimin Jan 12, 2018
74d038e
AMBARI-22771. Ambari loads ambari.properties using ISO 8859-1 encodin…
adoroszlai Jan 12, 2018
e8ddc61
AMBARI-22771. Use constant from Charsets instead of Charset.forName
adoroszlai Jan 12, 2018
d648efa
AMBARI-22775 ambari-web unit test is failing at apache ambari jenkins…
Jan 13, 2018
15634ce
AMBARI-22771. Fix broken unit test
adoroszlai Jan 15, 2018
1fcb0e8
AMBARI-22779. Cannot scale cluster if Ambari Server restarted since b…
adoroszlai Jan 14, 2018
d43c70d
[AMBARI-22725] Expose Conditional Elements For Tasks on Upgrade
Jan 10, 2018
ce5eb23
Merge pull request #84 from jonathan-hurley/AMBARI-22725
jonathan-hurley Jan 18, 2018
4b49902
AMBARI-22805. Blueprints do not handle some failures properly
adoroszlai Jan 16, 2018
1683660
AMBARI-22806.Unable to delete files from HDFS using Ambari File View …
venkatasairaml Jan 20, 2018
97f1905
AMBARI-22698: Custom zeppelin interpreter properties are getting remo…
prabhjyotsingh Jan 22, 2018
f42a1ec
AMBARI-22716: zeppelin.livy.url is not getting updated after moving l…
prabhjyotsingh Jan 22, 2018
bd98327
Merge pull request #165 from prabhjyotsingh/AMBARI-22716-branch-2.6
nitirajrathore Jan 22, 2018
a2da32d
Merge pull request #164 from prabhjyotsingh/AMBARI-22698-branch-2.6
nitirajrathore Jan 22, 2018
3730c03
AMBARI-22696 Whitelist execute latency from Storm Ambari metrics
HeartSaVioR Jan 22, 2018
c8921b6
AMBARI-22805. Blueprints do not handle some failures properly - impro…
adoroszlai Jan 23, 2018
51add12
AMBARI-22805. Blueprints do not handle some failures properly - fix t…
adoroszlai Jan 23, 2018
b690dcb
AMBARI-22853. NFS Gateway is not logging at the correct location (aon…
aonishuk Jan 26, 2018
e08d056
AMBARI-22413 fix tar_archive.archive_directory_dereference (benyoka) …
benyoka Jan 26, 2018
9e6eaae
[AMBARI-22857] Fix the if statement where & is used instead of &&
mnpoonia Jan 26, 2018
6988cb2
AMBARI-22856 Stack Versions page shows empty page if new registered s…
atkach Jan 29, 2018
61fe07e
AMBARI-22879 Ambari makes unrelated changes to zookeeper quorum confi…
atkach Jan 30, 2018
43b0d9e
AMBARI-22830. Ambari-agent puts Python scripts in 2.6 directory on OS…
aonishuk Jan 30, 2018
5148ecb
AMBARI-20908 Kafka advertised.listeners replaced in Kerberos Mode (bh…
mradha25 Jan 30, 2018
582e350
AMBARI-22864. Agent commands hang even after freeing up disk space on…
aonishuk Jan 31, 2018
2dbb4c0
[AMBARI-22888] Cancel operation during package deployment causing rep…
hapylestat Jan 31, 2018
9c346be
[AMBARI-22888] Cancel operation during package deployment causing rep…
hapylestat Feb 1, 2018
2019a5c
[AMBARI-22836] remove unused stackfeatures and add new one for NiFi (…
YolandaMDavis Feb 2, 2018
be34314
AMBARI-22891 : Logging improvement during the Upgrade when there is i…
Feb 5, 2018
b5540cd
AMBARI-22833 : change commons-collections-3.2.1.jar being used by amb…
nitirajrathore Feb 6, 2018
0d004ef
AMBARI-22921. Unable to enable hive interactive, LLAP, on our Ambari …
aonishuk Feb 6, 2018
96ed45f
AMBARI-22929. Add service not prompting user to enter a mandatory fie…
hiveww Feb 7, 2018
5eb8ad9
AMBARI-22877. Ambari does not show all cluster hosts to select for as…
Jetly-Jaimin Feb 7, 2018
05cb607
Merge pull request #294 from hiveww/AMBARI-22929-branch-2.6
hiveww Feb 7, 2018
e460342
AMBARI-22939. Ambari throws NPE when deleting a service (amagyar)
zeroflag Feb 8, 2018
7f652c5
AMBARI-22941. Debian stackdeploys failing with "ambari-agent: command…
aonishuk Feb 8, 2018
ea971eb
[AMBARI-22946]. Download client configs API failing with 500 server e…
zeroflag Feb 9, 2018
ada1127
AMBARI-22953. Heartbeat gets lost due to subprocess lock (aonishuk) (…
aonishuk Feb 9, 2018
90b16b0
AMBARI-22960. Ambari agent kills parent process on stop. (mpapirkovskyy)
mpapirkovskyy Feb 7, 2018
cad4b63
AMBARI-22934. [API] Updating current stack repo without GPL repos in …
mpapirkovskyy Feb 5, 2018
f1e7b53
AMBARI-22952 UI Install is unable to work with 'Redhat Satellite/Spac…
atkach Feb 9, 2018
7f9a9b4
AMBARI-22966 ambari-agent fails to start (dgrinenko)
hapylestat Feb 12, 2018
4ed6a45
AMBARI-22906. Not able to register new HDP version after upgrading to…
aonishuk Feb 6, 2018
f40a400
AMBARI-22918 Decommission RegionServer fails when kerberos is enabled
brfrn169 Feb 7, 2018
73f016b
AMBARI-22927.Hive View 1.5 Upload Table - not able to change datatype…
venkatasairaml Feb 14, 2018
8e0a6d1
AMBARI-22951 Export JAVA_HOME env variable in shell script for Ranger…
fimugdha Feb 6, 2018
333292f
AMBARI-22983. Add Hosts is Failing with Error while bootstrapping: Ca…
aonishuk Feb 14, 2018
16bbca3
AMBARI-22986. Not able to add Livy2 after doing rolling upgrade to M2…
Feb 14, 2018
96cee1d
AMBARI-22984. Old mpacks broken (echekanskiy)
hellozyemlya Feb 14, 2018
22cdaa2
AMBARI-22491. Moving Metrics Collector Forces ZooKeeper Server Instal…
hiveww Feb 14, 2018
c3ee121
AMBARI-22986. Not able to add Livy2 after doing rolling upgrade to M2…
Feb 14, 2018
2ba8e9d
AMBARI-22991 : Grafana shows incorrect info for HBase Average Regions…
Feb 14, 2018
e2e4629
AMBARI-22986. Not able to add Livy2 after doing rolling upgrade to M2…
Feb 14, 2018
ab3d854
Merge pull request #361 from avijayanhwx/AMBARI-22991-branch-2.6
Feb 14, 2018
e670279
Merge pull request #355 from dlysnichenko/AMBARI-22986-branch-2.6
Dmitriusan Feb 15, 2018
0ac677e
Merge pull request #359 from hiveww/AMBARI-22491-branch-2.6
hiveww Feb 15, 2018
9b499f4
AMBARI-22918 Decommission RegionServer fails when kerberos is enabled
brfrn169 Feb 15, 2018
32aded2
[AMBARI-23008] AMS: SUM downsampling function works incorrectly.
Feb 15, 2018
983c5c4
[AMBARI-20038] Removing debug statements
Feb 15, 2018
64bab84
[AMBARI-22998] Wrong user used to execute the Spark/Livy Server servi…
rlevas Feb 15, 2018
364b5e5
[AMBARI-22998] Wrong user used to execute the Spark/Livy Server servi…
rlevas Feb 15, 2018
f4a4dca
AMBARI-22819. Issues with storm jaas files and recursive ch_(mod/own)…
hellozyemlya Feb 16, 2018
cc50638
AMBARI-23017. [PERF] Deployment of PERF stack leads to Out of Sync (a…
aonishuk Feb 19, 2018
ea061b4
Merge pull request #380 from avijayanhwx/AMBARI-23008-branch-2.6
Feb 20, 2018
a3d5788
[AMBARI-23035] HDFS Balancer via Ambari fails when FIPS mode is activ…
rlevas Feb 20, 2018
c386567
[AMBARI-23043] Table or view not found error' with livy/livy2 interpr…
vbrodetskyi Feb 21, 2018
a61bfe2
AMBARI-23056 : Fix AMS dependencies that have security issues.
Feb 22, 2018
f7de907
AMBARI-23048. Remove unsecure dependencies from Ambari Groovy Shell (…
zeroflag Feb 22, 2018
5913546
[AMBARI-23044]. Version upgrades of 3rd party dependencies for Log Se…
oleewere Feb 23, 2018
89dfc60
Revert "AMBARI-22934. [API] Updating current stack repo without GPL r…
swagle Feb 23, 2018
549794f
Merge pull request #447 from avijayanhwx/AMBARI-23056-branch-2.6
Feb 23, 2018
8a7312a
AMBARI-23054. Upgaring commons-beanutils dependency in ambari-server …
Feb 22, 2018
10583f3
AMBARI-23054. Removing commons-beanutils-core dependency from ambari-…
Feb 23, 2018
5f386f3
AMBARI-23064. Upgrading jackson-databind (plus jackson-annotations an…
Feb 23, 2018
7c71df0
AMBARI-23046. Remove unsecure dependencies from Ambari Groovy Client …
zeroflag Feb 22, 2018
8bbc562
AMBARI-23067. Upgrading commons-collections to 3.2.2 due to security …
smolnar82 Feb 26, 2018
dc5cc66
[AMBARI-23091] Zeppelin Notebook SSL credentials in Ambari UI are in …
vbrodetskyi Feb 27, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ target
/ambari-web/npm-debug.log
/ambari-web/public/
/ambari-web/node_modules/
/ambari-web/node/
*.pyc
*.py~
*.iml
Expand All @@ -24,3 +25,7 @@ ambari-metrics/ambari-metrics-host-monitoring/src/main/python/psutil/build/
rebel.xml
rebel-remote.xml
out
createDDL.jdbc
/contrib/views/storm/src/main/resources/ui/node_modules/
/contrib/views/storm/src/main/resources/ui/public/
/contrib/views/storm/src/main/resources/ui/npm-debug.log
19 changes: 19 additions & 0 deletions .reviewboardrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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

REVIEWBOARD_URL = 'https://reviews.apache.org'
REPOSITORY = 'ambari'

# Default value for the request's Reviewers > Groups field
TARGET_GROUPS = 'Ambari'
69 changes: 69 additions & 0 deletions KEYS
Original file line number Diff line number Diff line change
Expand Up @@ -521,3 +521,72 @@ E0acC3N0t01mN3I94vrjheb/Zm9PK1bDWS8xPmt6WUQ9o28DK+FCmNselwwYNNHV
JH93bd2K+dqt3ZLR5z2FNzk+oJ4kdqIdO0rRgpfV9LZaBbX7e9acLelS
=P4K4
-----END PGP PUBLIC KEY BLOCK-----
pub 2048R/088372A9 2017-03-21 [expires: 2019-03-21]
uid [ultimate] Aravindan Vijayan (avijayan) <avijayan@apache.org>
sub 2048R/9911BCB0 2017-03-21 [expires: 2019-03-21]

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQENBFjQcuUBCAC616QZ44KvVtycj5JX0voZGea6G1i0OMNnEPtgbYBcbOIyrpr/
eO+HbrtLYOG+9/aDfQwEGstlYoYEELoKiHsI3hLuO76trcHzXAASDRzyYQWsVdDz
xhRvEJEaIlIn+NH/xgzdLdZsXKDYSXm3NuR22yIknJMZsf2YuvqThBxDsh22ceY8
c5dGCInQBWdn0zoXoJOZ/eKxrgHzNdT2HkRy3IQty4NCMSMozsfANgdxlGX6bnUd
aUb2wg/kWNjHltyuEG5fT6ShhUY6I7DKmkEfXmh1chHWSrJn0wy1EQoWatb9rj38
24mLWIMpA/5Kg4Z8tDFnNLDYTfbZckVMFSwZABEBAAG0MkFyYXZpbmRhbiBWaWph
eWFuIChhdmlqYXlhbikgPGF2aWpheWFuQGFwYWNoZS5vcmc+iQE9BBMBCgAnBQJY
0HLlAhsDBQkDwmcABQsJCAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJEC6XbzAIg3Kp
WvwIAIF+WOTLzeemSuaQ0kSdth1oNW6/rVk28Yzq7ZlSrwFEz5ysTTyyiKav1068
dUjftqmXxdoXuJ7/lmA5Sn8dkQ438xoF8Sg9ezyPG946OkK02j47J7I4AOtLRcDB
94YPdYp7g4Zt9TwFPwzgi78Vxi1ApuefL/G9u9GgaMaLx+iTg9pujdALoSTQ80M6
tq+VIq+1MWyl0mbE7UQgcsVR42rdXtjVo2J107mi6KM5n2baFhQL+cqjFO5VctNA
1reGsA7dcXXHRVsFzxcyp0mnYid5I9QrnLyMcNMHbKc7bJAvdfb/YJ4qoMqH7TY/
wF1CNYIKU24RwDv4QNKVUf4eZaW5AQ0EWNBy5QEIALPcAD1o2YFOFxNhMtbmcS5Z
OT4E5CQgDtY19AbXvIbGqjsxbyWvmNSzyWmkucacpy5mBqyoOP2LHuB1S7t5JK2W
fPhd0dXXIeAszmWlLTy1grFbqigcCFfgyrkIKxryhO7Cn8BAaCsyzUG0b0OzMnY1
+neZ/ObGM1OXrbIOqOQkR7fA9PljM5514BxuUJFNq+Adh9MtU+rvs+K8voJbPwfZ
aShrqx89CO6lQ5/6TkxM4DmEQFLL701QozGr52zHI0arQimG55hsAbNLM13PXmZ2
upYvZCX3ksO1s5ZDXB6UnMGyKd5HFbYfTt87OpaYXyj/bUsysZRzRaKiJYEDLHMA
EQEAAYkBJQQYAQoADwUCWNBy5QIbDAUJA8JnAAAKCRAul28wCINyqfsmB/9UKUWX
OvC5I8O6J8t7STow9ucJJEHqDuemTnhaXQk144t65cv2eZzygmrbC1kKmXiy+E8I
N/JdaXBMTe9m0c1boh0yCMnKkDJKEyh2MkvYfXhUBUT3N7hfBRnJxR3tq5BH8BbX
4taidE6XakvMxPDL/3J94/tYz1CHfbMmKJqnirWrDHkkpLfT6arb7F/J7pUKomoa
A3rDQuY80JHiAgWXYjoz5hwGi8QN2RROnA8hG09ixDKFgKdwr7T0RnA1iqqJteqf
y98PGhV5I/D/lnMEmt0jiGBolpFHvFn7wdTXgebU0yng5w8XNFlNMwrj3NuTl+oF
a2PUifxYEOeykKn4
=id3i
-----END PGP PUBLIC KEY BLOCK-----
pub rsa2048 2017-10-23 [SC]
202F902A7791D3D127102F64BCC5EA25D0203B18
uid [ultimate] Swapan Shridhar <swapan@apache.org>
sub rsa2048 2017-10-23 [E]

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQENBFnuL8cBCAC0rVq/PpjshVR6h9I699OrEDMjANqBzlxjEc6G8TU4KDaoI4Zw
NbESTFH/1y3btXj+SIdWIuWmv5X4QWoAR3ydhffFuO1cCLKz4vVtjkkHTYiUsW/F
ZhHfl4kfjRzGkmu/ePZHbkevvtDWuO8dw/y9cDlhqRX6iajue7bzrX3BlYo3YVJN
R9kySeczqq+4pfeIFAF0XxnlKwqI3+XDhoROAuwmpSepT825H2jeQV10CWfSDFKz
4sksajATCEFIKBosAdVs3PnzbhL9Ij7QjxXXzldN+fcQa66ReFN8lbD5z3AG7T4q
ji1dIrtAnaiL2dJC+5AcNJovqojb7oOVDRXPABEBAAG0I1N3YXBhbiBTaHJpZGhh
ciA8c3dhcGFuQGFwYWNoZS5vcmc+iQFOBBMBCAA4FiEEIC+QKneR09EnEC9kvMXq
JdAgOxgFAlnuL8cCGwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQvMXqJdAg
Oxhf0Qf+M4Cp9dybybccUMRF4RfLguZGfp6IFMkMyB3svTrV0dh5maOpZfbY2zBE
l++rmowUqJFf9cMm4BsVDyUHX5tNCkFTVlloirV9X/HEauKu58oVUJe4m83HGEHc
fDl5NlHAk5uzU2NRrk+M2xP8XZ/TX/tRv3MwbF9fM6ZVQOOg6LMbP/YKE/NL7hha
3yTowEhCIM8lyd2qjzt4tq+4oDWmg7j1zTpzdXcBP0Ye4aUR5uV8JZDY+lXeUptw
VJi6+MksP2YbzqD2icUuYGfKDoP21RmKp52HOZXYFRwrZ6QYOmJLziakX0CBOlIz
w82/hjT66/tb6XXVooDisJbTiPC/K7kBDQRZ7i/HAQgAtQsdgLw++t6v7oAwe3lT
YyC1bHrohiVA/0oaSHcs4+1hmSzRQYRl79fbhchb444VswSVBjYOqDr9ydVkrKlV
3/rD9X5pEy87bgpHYMjh1MoDId3S1gr/sJ+jTVpgXuhMOsFNI4LPn1xD5ySIXzEI
fExnb6jvpnl4I3HHXSLdnLqmHmWogaK+rvEhfrWGBJyFWNwORlIscSyOsg5oKcJ5
izQdkbcrg+S6zJHPvzO1JaS9djvTjzQqyNBrRQkrpvbmXBZsJPB1wTlBqFDJNnSX
cS8OxjiNVhCvwYrSfyidSuNYlMnPYF+nNPLPPt6ifAlP4ij8yhNhQgMkscRJRT9W
HQARAQABiQE2BBgBCAAgFiEEIC+QKneR09EnEC9kvMXqJdAgOxgFAlnuL8cCGwwA
CgkQvMXqJdAgOxhjQgf6Apf+qF/nsuZZ8H9/23GjtDHtUSaTSnWVXuvKcZhs8gsJ
ypGatRxXWTFJjpupk62SyBAu6AHncWm+xq7ZxmW0KxUmxLdAW4he4fVRc/BqDU/K
S36gnlNj3XswaYS28lC8UKkykDABlDGHrJA26odPYb9+IgANX56gYLOSwEmZeCFv
lLaKxbaoJ9Atg20bBz4afYOj/lJH1fONxSBPnZr1QEodVcTPa2kZeO5sUk1U9cUL
2DwvhCvtDfChAke4vaOvlIk/ueLTe6+8GSedBdD65ZQZQJwGp8S50e+wWmBuoESE
8KCgd2hSG6KX86H4dOgFKGmI8Y+KoBNkFPUo6lVpGA==
=gFpV
-----END PGP PUBLIC KEY BLOCK-----
9 changes: 5 additions & 4 deletions ambari-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
<parent>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-project</artifactId>
<version>2.0.0.0-SNAPSHOT</version>
<version>2.6.1.0.0</version>
<relativePath>../ambari-project</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.ambari</groupId>
<artifactId>ambari-admin</artifactId>
<packaging>jar</packaging>
<name>Ambari Admin View</name>
<version>2.0.0.0-SNAPSHOT</version>
<version>2.6.1.0.0</version>
<description>Admin control panel</description>
<build>
<plugins>
Expand Down Expand Up @@ -61,11 +61,12 @@
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>0.0.16</version>
<version>1.3</version>
<configuration>
<nodeVersion>v0.10.44</nodeVersion>
<nodeVersion>v4.5.0</nodeVersion>
<npmVersion>2.15.0</npmVersion>
<workingDirectory>src/main/resources/ui/admin-web/</workingDirectory>
<npmInheritsProxyConfigFromMaven>false</npmInheritsProxyConfigFromMaven>
</configuration>
<executions>
<execution>
Expand Down
12 changes: 8 additions & 4 deletions ambari-admin/src/main/resources/ui/admin-web/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@
<header class="navbar navbar-static-top navbar-inverse">
<div class="navbar-inner">
<div class="container">
<a href="/#/main/dashboard" class="logo"><img src="/img/logo-white.png" alt="{{'common.apacheAmbari' | translate}}" title="{{'common.apacheAmbari' | translate}}"></a>
<a href="/#/main/dashboard" class="brand" title="{{'common.apacheAmbari' | translate}}">{{'common.ambari' | translate}}</a>
<a href="{{fromSiteRoot('/#/main/dashboard')}}" class="logo"><img src="/img/logo-white.png" alt="{{'common.apacheAmbari' | translate}}" title="{{'common.apacheAmbari' | translate}}"></a>
<a href="{{fromSiteRoot('/#/main/dashboard')}}" class="brand" title="{{'common.apacheAmbari' | translate}}">{{'common.ambari' | translate}}</a>
<ul class="nav navbar-nav navbar-right">
<li>
<div class="btn-group navbar-views-dropdown" dropdown is-open="viewsdropdown.isopen" ng-mouseover="viewsdropdown.isopen=true" ng-mouseout="viewsdropdown.isopen=false">
<a href="/#/main/views" ng-click="gotoViewsDashboard()" class="dropdown-toggle"><i class="fa fa-th"></i></a>
<a href="{{fromSiteRoot('/#/main/views')}}" ng-click="gotoViewsDashboard()" class="dropdown-toggle"><i class="fa fa-th"></i></a>
<ul class="dropdown-menu" role="menu">
<li ng-repeat="instance in viewInstances"><a href="/#/main{{instance.context_path}}" ng-click="about()">{{instance.label}}</a></li>
<li ng-repeat="instance in viewInstances"><a href="{{fromSiteRoot('/#/main/views/' + instance.viewUrl)}}" ng-click="about()">{{instance.label}}</a></li>
<li ng-show="!viewInstances.length" class="disabled"><a>{{'common.noViews' | translate}}</a></li>
</ul>
</div>
Expand Down Expand Up @@ -155,8 +155,10 @@
<script src="scripts/directives/PasswordVerify.js"></script>
<script src="scripts/directives/disabledTooltip.js"></script>
<script src="scripts/directives/editableList.js"></script>
<script src="scripts/services/Utility.js"></script>
<script src="scripts/services/UserConstants.js"></script>
<script src="scripts/services/User.js"></script>
<script src="scripts/services/GroupConstants.js"></script>
<script src="scripts/services/Group.js"></script>
<script src="scripts/services/RemoteCluster.js"></script>
<script src="scripts/services/View.js"></script>
Expand All @@ -165,11 +167,13 @@
<script src="scripts/services/PermissionLoader.js"></script>
<script src="scripts/services/PermissionsSaver.js"></script>
<script src="scripts/services/ConfirmationModal.js"></script>
<script src="scripts/services/DeregisterClusterModal.js"></script>
<script src="scripts/services/Auth.js"></script>
<script src="scripts/services/GetDifference.js"></script>
<script src="scripts/services/UnsavedDialog.js"></script>
<script src="scripts/services/Stack.js"></script>
<script src="scripts/services/AddRepositoryModal.js"></script>
<script src="scripts/services/AddVersionModal.js"></script>
<script src="scripts/services/RoleDetailsModal.js"></script>
<!-- endbuild -->
</body>
Expand Down
30 changes: 26 additions & 4 deletions ambari-admin/src/main/resources/ui/admin-web/app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ angular.module('ambariAdminConsole', [
'pascalprecht.translate'
])
.constant('Settings', {
baseUrl: '/api/v1',
siteRoot: '{proxy_root}/'.replace(/\{.+\}/g, ''),
baseUrl: '{proxy_root}/api/v1'.replace(/\{.+\}/g, ''),
testMode: (window.location.port == 8000),
mockDataPrefix: 'assets/data/',
isLDAPConfigurationSupported: false,
isLoginActivitiesSupported: false
})
.config(['RestangularProvider', '$httpProvider', '$provide', function(RestangularProvider, $httpProvider, $provide) {
.config(['RestangularProvider', '$httpProvider', '$provide', 'Settings', function(RestangularProvider, $httpProvider, $provide, Settings) {
// Config Ajax-module
RestangularProvider.setBaseUrl('/api/v1');
RestangularProvider.setBaseUrl(Settings.baseUrl);
RestangularProvider.setDefaultHeaders({'X-Requested-By':'ambari'});

$httpProvider.defaults.headers.post['Content-Type'] = 'plain/text';
Expand Down Expand Up @@ -66,7 +67,7 @@ angular.module('ambariAdminConsole', [

function error(response) {
if (response.status == 403) {
window.location = "/";
window.location = Settings.siteRoot;
return;
}
return $q.reject(response);
Expand Down Expand Up @@ -131,4 +132,25 @@ angular.module('ambariAdminConsole', [
}];
return $delegate;
}]);

if (!Array.prototype.find) {
Array.prototype.find = function (callback, context) {
if (this == null) {
throw new TypeError('Array.prototype.find called on null or undefined');
}
if (typeof callback !== 'function') {
throw new TypeError(callback + ' is not a function');
}
var list = Object(this),
length = list.length >>> 0,
value;
for (var i = 0; i < length; i++) {
value = list[i];
if (callback.call(context, value, i, list)) {
return value;
}
}
return undefined;
};
}
}]);
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,12 @@ angular.module('ambariAdminConsole')
angular.forEach(path.split('.'), function(routeObj) {
route = route[routeObj];
});
var r = new RegExp( route.url.replace(/(:\w+)/, '\\w+'));
return r.test($location.path());

// We should compare only root location part
var r = new RegExp( route.url.replace(/(:\w+)/, '\\w+')),
secondSlashUrlIndex = $location.path().indexOf('/', 1),
locationIsRoot = !~secondSlashUrlIndex,
location = locationIsRoot ? $location.path() : $location.path().slice(0, secondSlashUrlIndex);
return r.test(location);
};
}]);
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ angular.module('ambariAdminConsole')
Cluster.getAllClusters().then(function (clusters) {
if(clusters.length >0){
clusters.forEach(function(cluster) {
$scope.clusters.push(cluster.Clusters.cluster_name)
$scope.clusters.push({
"name" : cluster.Clusters.cluster_name,
"id" : cluster.Clusters.cluster_id
})
});
$scope.noLocalClusterAvailible = false;
if($scope.clusterConfigurable){
Expand All @@ -122,7 +125,10 @@ angular.module('ambariAdminConsole')
RemoteCluster.listAll().then(function (clusters) {
if(clusters.length >0){
clusters.forEach(function(cluster) {
$scope.remoteClusters.push(cluster.ClusterInfo.name)
$scope.remoteClusters.push({
"name" : cluster.ClusterInfo.name,
"id" : cluster.ClusterInfo.cluster_id
})
});
$scope.noRemoteClusterAvailible = false;
}else{
Expand Down Expand Up @@ -153,16 +159,17 @@ angular.module('ambariAdminConsole')
switch($scope.instance.clusterType) {
case 'LOCAL_AMBARI':
console.log($scope.cluster);
$scope.instance.clusterName = $scope.cluster;
$scope.instance.clusterId = $scope.cluster.id;
break;
case 'REMOTE_AMBARI':
console.log($scope.data.remoteCluster);
$scope.instance.clusterName = $scope.data.remoteCluster;
$scope.instance.clusterId = $scope.data.remoteCluster.id;

break;
default:
$scope.instance.clusterName = null;
$scope.instance.clusterId = null;
}
console.log($scope.instance.clusterName);
console.log($scope.instance.clusterId);
View.createInstance($scope.instance)
.then(function(data) {
Alert.success($t('views.alerts.instanceCreated', {instanceName: $scope.instance.instance_name}));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'use strict';

angular.module('ambariAdminConsole')
.controller('ViewUrlCtrl',['$scope', 'View', 'Alert', 'Cluster', '$routeParams', '$location', 'UnsavedDialog', '$translate', function($scope, View, Alert, Cluster, $routeParams, $location, UnsavedDialog, $translate) {
.controller('ViewUrlCtrl',['$scope', 'View', 'Alert', 'Cluster', '$routeParams', '$location', 'UnsavedDialog', '$translate', 'Settings', function($scope, View, Alert, Cluster, $routeParams, $location, UnsavedDialog, $translate, Settings) {
var $t = $translate.instant;
$scope.form = {};
$scope.constants = {
Expand Down Expand Up @@ -115,6 +115,7 @@ angular.module('ambariAdminConsole')

View.updateShortUrl(payload).then(function(urlStatus) {
Alert.success($t('urls.urlCreated', {
siteRoot: Settings.siteRoot,
viewName:$scope.url.selectedInstance.cname ,
shortUrl:$scope.url.suffix,
urlName:$scope.url.urlName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'use strict';

angular.module('ambariAdminConsole')
.controller('ViewUrlEditCtrl',['$scope', 'View', 'Alert', 'Cluster', '$routeParams', '$location', 'UnsavedDialog', '$translate','ConfirmationModal' ,function($scope, View, Alert, Cluster, $routeParams, $location, UnsavedDialog, $translate,ConfirmationModal) {
.controller('ViewUrlEditCtrl',['$scope', 'View', 'Alert', 'Cluster', '$routeParams', '$location', 'UnsavedDialog', '$translate','ConfirmationModal', 'Settings' ,function($scope, View, Alert, Cluster, $routeParams, $location, UnsavedDialog, $translate,ConfirmationModal, Settings) {
var $t = $translate.instant;
$scope.form = {};
$scope.constants = {
Expand Down Expand Up @@ -55,6 +55,7 @@ angular.module('ambariAdminConsole')

View.editShortUrl(payload).then(function(urlStatus) {
Alert.success($t('urls.urlUpdated', {
siteRoot: Settings.siteRoot,
viewName:$scope.url.view_instance_common_name ,
shortUrl:$scope.url.suffix,
urlName:$scope.url.url_name
Expand Down
Loading