Job Binary Internal data name is difficult to understand

Bug #1428537 reported by Yuhara Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Sahara
Fix Released
Medium
Yuhara Motoki

Bug Description

When register Job Binary Internal,
The name is automatically determined by regstration date.

It is difficult to know which data registered.

Example
$ sahara job-binary-data-create --file input.txt
+--------------------------------------------------------------+-----------------+
| id | name |
+--------------------------------------------------------------+-----------------+
| e706cc63-a38e-40fe-bcd1-cf4a46cd5277 | d20150305080909 |
+--------------------------------------------------------------+-----------------+

description: updated
Revision history for this message
lu huichun (lhcxx0508) wrote :

hi Yuhara Motoki

I think you should use sahara job-binary-create command, there is a parameter called --name.

if you use sahara job-binary-data-create, it only create data in the DB, but can not show up in the horizon page in job binary page

Changed in sahara:
assignee: nobody → Yuhara Motoki (yuhara-motoki)
Changed in sahara:
status: New → In Progress
Revision history for this message
Sergey Lukjanov (slukjanov) wrote :

Yeah, the job-binary-data-create just creates the binary entry in sahara db, it's not important how it's named.

Changed in sahara:
milestone: none → liberty-1
importance: Undecided → Medium
importance: Medium → Undecided
milestone: liberty-1 → none
Revision history for this message
Yuhara Motoki (yuhara-motoki) wrote :

Hi

Thank you for your comment.

I use job-binary-data-create to store some HiveQL scripts.
And I use that job-binary-internal for creating job-binary-create.
ex)
sahara job-binary create --name <job-binary-name> --url internal-db://<job-binary-internal-id>

I'm not sure if I don't create job-binary-internal, where I store HiveQL scripts and How I write value of --url option.

Kazuki OIKAWA (k.oikw)
Changed in sahara:
status: In Progress → Fix Committed
Changed in sahara:
milestone: none → liberty-3
Changed in sahara:
importance: Undecided → Critical
importance: Critical → High
importance: High → Medium
affects: sahara → python-saharaclient
Changed in python-saharaclient:
milestone: liberty-3 → none
Changed in python-saharaclient:
milestone: none → 0.11.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.