def export_data_as_hdfs_file(self, snippet, target_file, overwrite): db = self._get_db(snippet) handle = self._get_handle(snippet) max_cells = DOWNLOAD_CELL_LIMIT.get() upload(target_file, handle, self.request.user, db, self.request.fs, max_cells=max_cells) return '/filebrowser/view=%s' % target_file