Remove applications packages

3 views
Skip to first unread message

Guilherme Hott

unread,
Aug 7, 2017, 5:41:29 PM8/7/17
to DataTorrent Users Group
Hi everyone,

How do I remove applications packages? I imported from AppHub some examples applications but now I want to remove them. I know if I format the hdfs they are gone, so, probably there is a directory on hdfs where I can delete, but which one?

Tks

Pradeep Kumbhar

unread,
Aug 8, 2017, 2:11:14 AM8/8/17
to Guilherme Hott, DataTorrent Users Group
One way is from DataTorrent RTS UI:
  • Navigate to Develop tab & click on Application Packages
  • Make sure you are on grid view (you can change it using the option at top right corner of the page)
  • Click on 'delete package' option for the package you wish to delete
Another way (as you have mentioned) is from backend:
  • Delete the 'appPackages' directory o HDFS
hdfs dfs -rm -r /user/${username}/datatorrent/appPackages/${username}/${appPkgName}

Hope this helps.


--
You received this message because you are subscribed to the Google Groups "DataTorrent Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dt-users+unsubscribe@googlegroups.com.
To post to this group, send email to dt-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dt-users/8259b003-0b5c-4649-8f6c-539d7cd161cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
_____________________________________________________________
R
egards,
Pradeep
Ku​
mbha
​r
​,
QA Engineer
​e
: pra...@datatorrent.com |
​m
: 9168978932 |
​t
: @daemon12
​7

     ​                    ​
www.datatorrent.com
​​
​​
  | 
     ​                    ​

Guilherme Hott

unread,
Aug 8, 2017, 2:34:09 AM8/8/17
to Pradeep Kumbhar, DataTorrent Users Group
Thanks Pradeep, I could remove using the command because the webui don't allow me delete Java packages.
--
Guilherme Hott
Software Engineer
Skype: guilhermehott
@guilhermehott

Pradeep Kumbhar

unread,
Aug 8, 2017, 2:56:21 AM8/8/17
to Guilherme Hott, DataTorrent Users Group
I think you are trying to delete it from list view of applications. Switch to grid view and you will be able to delete the entire appPackage.

Inline image 1

Individual java "applications" cannot be deleted. The delete option is available only for JSON applications (from list view) and for entire appPackage from grid view.

Guilherme Hott

unread,
Aug 8, 2017, 3:03:17 AM8/8/17
to Pradeep Kumbhar, DataTorrent Users Group
You're right. I didn't know that grid view. Thanks.
Reply all
Reply to author
Forward
0 new messages