Thank you for reporting this bug, Margus. It looks the UI takes the
default table URI
('catalog:default:falcon1#feed_date=${YEAR}-${MONTH}-${DAY}') instead of
the one in the cluster specification ('null¹). Therefore, when you delete
Œnull¹ uri, the UI doesn¹t find any change in the feed summary and so
doesn¹t save your changes.
This new UI is in HDP2.3 but not yet shipped on apache falcon branch. I¹ve
filed a bug report internally. In the future, if you have any questions
regarding HDP2.3, you can ask questions here:
https://community.hortonworks.com/. Thank you!
Cheers,
Ying
On 2/16/16, 7:15 AM, "Margus Roo" <[email protected]> wrote:
>Hi
>
>I have Falcon 0.6.1.2.3 from HDP-2.3
>I created new feed via web -
>http://margus.roo.ee/wp-content/uploads/2016/02/Screen-Shot-2016-02-16-at-
>17.05.31.png
>And cot XML:
><feed xmlns='uri:falcon:feed:0.1' name='margusja-demo'>
> <frequency>hours(1)</frequency>
> <timezone>UTC</timezone>
> <clusters>
> <cluster name='Cluster2' type='source'>
> <validity start='2016-02-15T16:50Z' end='2016-02-24T16:50Z'/>
> <retention limit='hours(1)' action='delete'/>
> <table uri='null'/>
> </cluster>
> </clusters>
> <table
>uri='catalog:default:falcon1#feed_date=${YEAR}-${MONTH}-${DAY}'/>
> <ACL owner='margusja' group='users' permission='0755'/>
> <schema location='hcat' provider='hcat'/>
> <properties>
> <property/>
> </properties>
></feed>
>
>As you can see there is one extra <table uri='null'/>
>
>And firebug console gives me:
>Error: b.feed.clusters.cluster[0].locations is undefined
>n@http://hadoopnn2:15000/js/main.min.js:771:20
>a.saveEntity@http://hadoopnn:15000/js/main.min.js:794:39
>fb.prototype.functionCall/<@http://hadoopnn2:15000/js/vendor.min.js:207:11
>0
>Ac[c]</<.compile/</</f@http://hadoopnn2:15000/js/vendor.min.js:236:195
>Me/this.$get</k.prototype.$eval@http://hadoopnn2:15000/js/vendor.min.js:13
>4:116
>Me/this.$get</k.prototype.$apply@http://hadoopnn2:15000/js/vendor.min.js:1
>34:330
>Ac[c]</<.compile/</<@http://hadoopnn2:15000/js/vendor.min.js:236:245
>m.event.dispatch@http://hadoopnn2:15000/js/vendor.min.js:6:8384
>m.event.add/r.handle@http://hadoopnn2:15000/js/vendor.min.js:6:5122
>
>
>...on
>ra(b,a){if("__defineGetter__"===b||"__defineSetter__"===b||"__lookupGetter
>__"...
>
>
>
>If I'll modify XML in command line:
><feed xmlns='uri:falcon:feed:0.1' name='margusja-demo'>
> <frequency>hours(1)</frequency>
> <timezone>UTC</timezone>
> <clusters>
> <cluster name='Cluster2' type='source'>
> <validity start='2016-02-15T16:50Z' end='2016-02-24T16:50Z'/>
> <retention limit='hours(1)' action='delete'/>
> </cluster>
> </clusters>
> <table
>uri='catalog:default:falcon1#feed_date=${YEAR}-${MONTH}-${DAY}'/>
> <ACL owner='margusja' group='users' permission='0755'/>
> <schema location='hcat' provider='hcat'/>
></feed>
>
>Then I can submit it using falcon command line.
>But if I use web GUI and I am trying to edit XML via Falcon web GUI then
>after saving it (using Finish button) it changes my modifications back.
>
>--
>Margus (margusja) Roo
>http://margus.roo.ee
>skype: margusja
>+372 51 48 780
>