falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Margus Roo <mar...@roo.ee>
Subject Can not create feed via Falcon web GUI
Date Tue, 16 Feb 2016 15:15:45 GMT
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:110 
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:134:116 
Me/this.$get</k.prototype.$apply@http://hadoopnn2:15000/js/vendor.min.js:134: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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message