Skip to content

Instantly share code, notes, and snippets.

@s-wool
Last active December 27, 2015 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s-wool/7267210 to your computer and use it in GitHub Desktop.
Save s-wool/7267210 to your computer and use it in GitHub Desktop.
hueのsqlite→mysqlのmigrationがこけるので 要--ignore-whitespace
diff -u a/apps/jobsub/src/jobsub/migrations/0002_auto__add_ooziestreamingaction__add_oozieaction__add_oozieworkflow__ad.py b/apps/jobsub/src/jobsub/migrations/0002_auto__add_ooziestreamingaction__add_oozieaction__add_oozieworkflow__ad.py
--- a/apps/jobsub/src/jobsub/migrations/0002_auto__add_ooziestreamingaction__add_oozieaction__add_oozieworkflow__ad.py 2013-07-13 07:49:44.000000000 +0900
+++ b/apps/jobsub/src/jobsub/migrations/0002_auto__add_ooziestreamingaction__add_oozieaction__add_oozieworkflow__ad.py 2013-11-01 18:30:10.115837288 +0900
@@ -46,7 +46,7 @@
('files', self.gf('django.db.models.fields.CharField')(default='[]', max_length=512)),
('mapper', self.gf('django.db.models.fields.CharField')(max_length=512)),
('reducer', self.gf('django.db.models.fields.CharField')(max_length=512)),
- ('job_properties', self.gf('django.db.models.fields.TextField')(default='[]')),
+ ('job_properties', self.gf('django.db.models.fields.CharField')(default='[]', max_length=512)),
('archives', self.gf('django.db.models.fields.CharField')(default='[]', max_length=512)),
))
db.send_create_signal('jobsub', ['OozieStreamingAction'])
@@ -85,7 +85,7 @@
('files', self.gf('django.db.models.fields.CharField')(default='[]', max_length=512)),
('jar_path', self.gf('django.db.models.fields.CharField')(max_length=512)),
('archives', self.gf('django.db.models.fields.CharField')(default='[]', max_length=512)),
- ('job_properties', self.gf('django.db.models.fields.TextField')(default='[]')),
+ ('job_properties', self.gf('django.db.models.fields.CharField')(default='[]', max_length=512)),
))
db.send_create_signal('jobsub', ['OozieMapreduceAction'])
@@ -96,7 +96,7 @@
('jar_path', self.gf('django.db.models.fields.CharField')(max_length=512)),
('java_opts', self.gf('django.db.models.fields.CharField')(max_length=256, blank=True)),
('args', self.gf('django.db.models.fields.TextField')(blank=True)),
- ('job_properties', self.gf('django.db.models.fields.TextField')(default='[]')),
+ ('job_properties', self.gf('django.db.models.fields.CharField')(default='[]', max_length=512)),
('archives', self.gf('django.db.models.fields.CharField')(default='[]', max_length=512)),
('main_class', self.gf('django.db.models.fields.CharField')(max_length=256)),
))
diff -u a/apps/jobsub/src/jobsub/migrations/0003_convertCharFieldtoTextField.py b/apps/jobsub/src/jobsub/migrations/0003_convertCharFieldtoTextField.py
--- a/apps/jobsub/src/jobsub/migrations/0003_convertCharFieldtoTextField.py 2013-07-13 07:49:44.000000000 +0900
+++ b/apps/jobsub/src/jobsub/migrations/0003_convertCharFieldtoTextField.py 2013-10-23 17:53:32.958028266 +0900
@@ -9,13 +9,13 @@
def forwards(self, orm):
# Changing field 'OozieStreamingAction.job_properties'
- db.alter_column('jobsub_ooziestreamingaction', 'job_properties', self.gf('django.db.models.fields.TextField')())
+ db.alter_column('jobsub_ooziestreamingaction', 'job_properties', self.gf('django.db.models.fields.CharField')(max_length=32768))
# Changing field 'OozieMapreduceAction.job_properties'
- db.alter_column('jobsub_ooziemapreduceaction', 'job_properties', self.gf('django.db.models.fields.TextField')())
+ db.alter_column('jobsub_ooziemapreduceaction', 'job_properties', self.gf('django.db.models.fields.CharField')(max_length=32768))
# Changing field 'OozieJavaAction.job_properties'
- db.alter_column('jobsub_ooziejavaaction', 'job_properties', self.gf('django.db.models.fields.TextField')())
+ db.alter_column('jobsub_ooziejavaaction', 'job_properties', self.gf('django.db.models.fields.CharField')(max_length=32768))
def backwards(self, orm):
@@ -112,7 +112,7 @@
'files': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
'jar_path': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
'java_opts': ('django.db.models.fields.CharField', [], {'max_length': '256', 'blank': 'True'}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
+ 'job_properties': ('django.db.models.fields.CharField', [], {'default': "'[]'"}),
'main_class': ('django.db.models.fields.CharField', [], {'max_length': '256'}),
'oozieaction_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['jobsub.OozieAction']", 'unique': 'True', 'primary_key': 'True'})
},
@@ -121,14 +121,14 @@
'archives': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
'files': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
'jar_path': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
+ 'job_properties': ('django.db.models.fields.CharField', [], {'default': "'[]'"}),
'oozieaction_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['jobsub.OozieAction']", 'unique': 'True', 'primary_key': 'True'})
},
'jobsub.ooziestreamingaction': {
'Meta': {'object_name': 'OozieStreamingAction', '_ormbases': ['jobsub.OozieAction']},
'archives': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
'files': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
+ 'job_properties': ('django.db.models.fields.CharField', [], {'default': "'[]'"}),
'mapper': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
'oozieaction_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['jobsub.OozieAction']", 'unique': 'True', 'primary_key': 'True'}),
'reducer': ('django.db.models.fields.CharField', [], {'max_length': '512'})
diff -u a/apps/oozie/src/oozie/migrations/0012_auto__add_subworkflow__chg_field_email_subject__chg_field_email_body.py b/apps/oozie/src/oozie/migrations/0012_auto__add_subworkflow__chg_field_email_subject__chg_field_email_body.py
--- a/apps/oozie/src/oozie/migrations/0012_auto__add_subworkflow__chg_field_email_subject__chg_field_email_body.py 2013-07-13 07:49:44.000000000 +0900
+++ b/apps/oozie/src/oozie/migrations/0012_auto__add_subworkflow__chg_field_email_subject__chg_field_email_body.py 2013-11-01 18:33:02.769851816 +0900
@@ -18,10 +18,10 @@
db.send_create_signal('oozie', ['SubWorkflow'])
# Changing field 'Email.subject'
- db.alter_column('oozie_email', 'subject', self.gf('django.db.models.fields.TextField')())
+ # db.alter_column('oozie_email', 'subject', self.gf('django.db.models.fields.TextField')())
# Changing field 'Email.body'
- db.alter_column('oozie_email', 'body', self.gf('django.db.models.fields.TextField')())
+ # db.alter_column('oozie_email', 'body', self.gf('django.db.models.fields.TextField')())
def backwards(self, orm):
diff -u a/apps/oozie/src/oozie/migrations/0016_auto__add_field_coordinator_job_properties.py b/apps/oozie/src/oozie/migrations/0016_auto__add_field_coordinator_job_properties.py
--- a/apps/oozie/src/oozie/migrations/0016_auto__add_field_coordinator_job_properties.py 2013-07-13 07:49:44.000000000 +0900
+++ b/apps/oozie/src/oozie/migrations/0016_auto__add_field_coordinator_job_properties.py 2013-11-01 18:47:06.428580101 +0900
@@ -9,7 +9,7 @@
def forwards(self, orm):
# Adding field 'Coordinator.job_properties'
- db.add_column('oozie_coordinator', 'job_properties', self.gf('django.db.models.fields.TextField')(default='[]'), keep_default=False)
+ db.add_column('oozie_coordinator', 'job_properties', self.gf('django.db.models.fields.TextField')())
def backwards(self, orm):
a/apps/oozie/src/oozie/migrationsだけに発見: 0020_chg_large_varchars_to_textfields.py
diff -u a/apps/oozie/src/oozie/migrations/0021_auto__chg_field_java_args__add_field_job_is_trashed.py b/apps/oozie/src/oozie/migrations/0021_auto__chg_field_java_args__add_field_job_is_trashed.py
--- a/apps/oozie/src/oozie/migrations/0021_auto__chg_field_java_args__add_field_job_is_trashed.py 2013-07-13 07:49:44.000000000 +0900
+++ b/apps/oozie/src/oozie/migrations/0021_auto__chg_field_java_args__add_field_job_is_trashed.py 2013-11-01 19:10:12.145853727 +0900
@@ -9,7 +9,7 @@
def forwards(self, orm):
# Changing field 'Java.args'
- db.alter_column('oozie_java', 'args', self.gf('django.db.models.fields.TextField')(blank=True))
+ # db.alter_column('oozie_java', 'args', self.gf('django.db.models.fields.TextField')(blank=True))
# Adding field 'Job.is_trashed'
db.add_column('oozie_job', 'is_trashed', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True, blank=True), keep_default=False)
--- a/apps/jobsub/src/jobsub/migrations/0006_chg_varchars_to_textfields.py 2013-07-13 07:49:44.000000000 +0900
+++ /dev/null 2013-09-06 05:43:24.043489769 +0900
@@ -1,129 +0,0 @@
-# -*- coding: utf-8 -*-
-import datetime
-from django.utils.translation import ugettext as _
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Changing field 'JobDesign.data'
- db.alter_column('jobsub_jobdesign', 'data', self.gf('django.db.models.fields.TextField')())
- db.alter_column('jobsub_ooziejavaaction', 'args', self.gf('django.db.models.fields.TextField')(blank=True))
-
- def backwards(self, orm):
-
- # Changing field 'JobDesign.data'
- # db.alter_column('jobsub_jobdesign', 'data', self.gf('django.db.models.fields.CharField')(max_length=4096))
- # db.alter_column('jobsub_ooziejavaaction', 'data', self.gf('django.db.models.fields.CharField')(max_length=4096, blank=True))
- raise RuntimeError(_("Cannot backwards migrate this change."))
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'jobsub.checkforsetup': {
- 'Meta': {'object_name': 'CheckForSetup'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'setup_level': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
- 'setup_run': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'jobsub.jobdesign': {
- 'Meta': {'object_name': 'JobDesign'},
- 'data': ('django.db.models.fields.TextField', [], {}),
- 'description': ('django.db.models.fields.CharField', [], {'max_length': '1024'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
- 'type': ('django.db.models.fields.CharField', [], {'max_length': '128'})
- },
- 'jobsub.jobhistory': {
- 'Meta': {'object_name': 'JobHistory'},
- 'design': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['jobsub.OozieDesign']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'job_id': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
- 'submission_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
- },
- 'jobsub.oozieaction': {
- 'Meta': {'object_name': 'OozieAction'},
- 'action_type': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
- },
- 'jobsub.ooziedesign': {
- 'Meta': {'object_name': 'OozieDesign'},
- 'description': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
- 'root_action': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['jobsub.OozieAction']"})
- },
- 'jobsub.ooziejavaaction': {
- 'Meta': {'object_name': 'OozieJavaAction', '_ormbases': ['jobsub.OozieAction']},
- 'archives': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
- 'args': ('django.db.models.fields.CharField', [], {'max_length': '4096', 'blank': 'True'}),
- 'files': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
- 'jar_path': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
- 'java_opts': ('django.db.models.fields.CharField', [], {'max_length': '256', 'blank': 'True'}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'main_class': ('django.db.models.fields.CharField', [], {'max_length': '256'}),
- 'oozieaction_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['jobsub.OozieAction']", 'unique': 'True', 'primary_key': 'True'})
- },
- 'jobsub.ooziemapreduceaction': {
- 'Meta': {'object_name': 'OozieMapreduceAction', '_ormbases': ['jobsub.OozieAction']},
- 'archives': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
- 'files': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
- 'jar_path': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'oozieaction_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['jobsub.OozieAction']", 'unique': 'True', 'primary_key': 'True'})
- },
- 'jobsub.ooziestreamingaction': {
- 'Meta': {'object_name': 'OozieStreamingAction', '_ormbases': ['jobsub.OozieAction']},
- 'archives': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
- 'files': ('django.db.models.fields.CharField', [], {'default': "'[]'", 'max_length': '512'}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'mapper': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
- 'oozieaction_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['jobsub.OozieAction']", 'unique': 'True', 'primary_key': 'True'}),
- 'reducer': ('django.db.models.fields.CharField', [], {'max_length': '512'})
- }
- }
-
- complete_apps = ['jobsub']
--- a/apps/oozie/src/oozie/migrations/0020_chg_large_varchars_to_textfields.py 2013-07-13 07:49:44.000000000 +0900
+++ /dev/null 2013-09-06 05:43:24.043489769 +0900
@@ -1,316 +0,0 @@
-# encoding: utf-8
-import datetime
-from django.utils.translation import ugettext as _
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- db.alter_column('oozie_java', 'args', self.gf('django.db.models.fields.TextField')(blank=True))
-
-
- def backwards(self, orm):
- raise RuntimeError(_("Cannot backwards migrate this change."))
-
-
- models = {
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'oozie.bundle': {
- 'Meta': {'object_name': 'Bundle', '_ormbases': ['oozie.Job']},
- 'coordinators': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['oozie.Coordinator']", 'through': "orm['oozie.BundledCoordinator']", 'symmetrical': 'False'}),
- 'job_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Job']", 'unique': 'True', 'primary_key': 'True'}),
- 'kick_off_time': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 28, 13, 57, 24, 603543)'})
- },
- 'oozie.bundledcoordinator': {
- 'Meta': {'object_name': 'BundledCoordinator'},
- 'bundle': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oozie.Bundle']"}),
- 'coordinator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oozie.Coordinator']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'parameters': ('django.db.models.fields.TextField', [], {'default': '\'[{"name":"oozie.use.system.libpath","value":"true"}]\''})
- },
- 'oozie.coordinator': {
- 'Meta': {'object_name': 'Coordinator', '_ormbases': ['oozie.Job']},
- 'concurrency': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'end': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 3, 3, 13, 57, 24, 601593)'}),
- 'execution': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'frequency_number': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'frequency_unit': ('django.db.models.fields.CharField', [], {'default': "'days'", 'max_length': '20'}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Job']", 'unique': 'True', 'primary_key': 'True'}),
- 'start': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 28, 13, 57, 24, 601562)'}),
- 'throttle': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'timeout': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'timezone': ('django.db.models.fields.CharField', [], {'default': "'America/Los_Angeles'", 'max_length': '24'}),
- 'workflow': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oozie.Workflow']", 'null': 'True'})
- },
- 'oozie.datainput': {
- 'Meta': {'object_name': 'DataInput'},
- 'coordinator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oozie.Coordinator']"}),
- 'dataset': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Dataset']", 'unique': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '40'})
- },
- 'oozie.dataoutput': {
- 'Meta': {'object_name': 'DataOutput'},
- 'coordinator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oozie.Coordinator']"}),
- 'dataset': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Dataset']", 'unique': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '40'})
- },
- 'oozie.dataset': {
- 'Meta': {'object_name': 'Dataset'},
- 'advanced_end_instance': ('django.db.models.fields.CharField', [], {'default': "'0'", 'max_length': '128', 'blank': 'True'}),
- 'advanced_start_instance': ('django.db.models.fields.CharField', [], {'default': "'0'", 'max_length': '128'}),
- 'coordinator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oozie.Coordinator']"}),
- 'description': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '1024', 'blank': 'True'}),
- 'done_flag': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '64', 'blank': 'True'}),
- 'frequency_number': ('django.db.models.fields.SmallIntegerField', [], {'default': '1'}),
- 'frequency_unit': ('django.db.models.fields.CharField', [], {'default': "'days'", 'max_length': '20'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'instance_choice': ('django.db.models.fields.CharField', [], {'default': "'default'", 'max_length': '10'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
- 'start': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 28, 13, 57, 24, 602148)'}),
- 'timezone': ('django.db.models.fields.CharField', [], {'default': "'America/Los_Angeles'", 'max_length': '24'}),
- 'uri': ('django.db.models.fields.CharField', [], {'default': "'/data/${YEAR}${MONTH}${DAY}'", 'max_length': '1024'})
- },
- 'oozie.decision': {
- 'Meta': {'object_name': 'Decision'},
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'})
- },
- 'oozie.decisionend': {
- 'Meta': {'object_name': 'DecisionEnd'},
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'})
- },
- 'oozie.distcp': {
- 'Meta': {'object_name': 'DistCp'},
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_xml': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '512', 'blank': 'True'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'params': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'prepares': ('django.db.models.fields.TextField', [], {'default': "'[]'"})
- },
- 'oozie.email': {
- 'Meta': {'object_name': 'Email'},
- 'body': ('django.db.models.fields.TextField', [], {'default': "''"}),
- 'cc': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'subject': ('django.db.models.fields.TextField', [], {'default': "''"}),
- 'to': ('django.db.models.fields.TextField', [], {'default': "''"})
- },
- 'oozie.end': {
- 'Meta': {'object_name': 'End'},
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'})
- },
- 'oozie.fork': {
- 'Meta': {'object_name': 'Fork'},
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'})
- },
- 'oozie.fs': {
- 'Meta': {'object_name': 'Fs'},
- 'chmods': ('django.db.models.fields.TextField', [], {'default': "'[]'", 'blank': 'True'}),
- 'deletes': ('django.db.models.fields.TextField', [], {'default': "'[]'", 'blank': 'True'}),
- 'mkdirs': ('django.db.models.fields.TextField', [], {'default': "'[]'", 'blank': 'True'}),
- 'moves': ('django.db.models.fields.TextField', [], {'default': "'[]'", 'blank': 'True'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'touchzs': ('django.db.models.fields.TextField', [], {'default': "'[]'", 'blank': 'True'})
- },
- 'oozie.generic': {
- 'Meta': {'object_name': 'Generic'},
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'xml': ('django.db.models.fields.TextField', [], {'default': "''"})
- },
- 'oozie.history': {
- 'Meta': {'object_name': 'History'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'job': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oozie.Job']"}),
- 'oozie_job_id': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'properties': ('django.db.models.fields.TextField', [], {}),
- 'submission_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_index': 'True', 'blank': 'True'}),
- 'submitter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
- },
- 'oozie.hive': {
- 'Meta': {'object_name': 'Hive'},
- 'archives': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'files': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': '\'[{"name":"oozie.hive.defaults","value":"hive-site.xml"}]\''}),
- 'job_xml': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '512', 'blank': 'True'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'params': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'prepares': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'script_path': ('django.db.models.fields.CharField', [], {'max_length': '256'})
- },
- 'oozie.java': {
- 'Meta': {'object_name': 'Java'},
- 'archives': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'args': ('django.db.models.fields.CharField', [], {'max_length': '4096', 'blank': 'True'}),
- 'capture_output': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'files': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'jar_path': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
- 'java_opts': ('django.db.models.fields.CharField', [], {'max_length': '256', 'blank': 'True'}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_xml': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '512', 'blank': 'True'}),
- 'main_class': ('django.db.models.fields.CharField', [], {'max_length': '256'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'prepares': ('django.db.models.fields.TextField', [], {'default': "'[]'"})
- },
- 'oozie.job': {
- 'Meta': {'object_name': 'Job'},
- 'deployment_dir': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'blank': 'True'}),
- 'description': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_shared': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True', 'blank': 'True'}),
- 'last_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_index': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
- 'parameters': ('django.db.models.fields.TextField', [], {'default': '\'[{"name":"oozie.use.system.libpath","value":"true"}]\''}),
- 'schema_version': ('django.db.models.fields.CharField', [], {'max_length': '128'})
- },
- 'oozie.join': {
- 'Meta': {'object_name': 'Join'},
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'})
- },
- 'oozie.kill': {
- 'Meta': {'object_name': 'Kill'},
- 'message': ('django.db.models.fields.CharField', [], {'default': "'Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]'", 'max_length': '256'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'})
- },
- 'oozie.link': {
- 'Meta': {'object_name': 'Link'},
- 'child': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'parent_node'", 'to': "orm['oozie.Node']"}),
- 'comment': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '1024', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'child_node'", 'to': "orm['oozie.Node']"})
- },
- 'oozie.mapreduce': {
- 'Meta': {'object_name': 'Mapreduce'},
- 'archives': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'files': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'jar_path': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_xml': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '512', 'blank': 'True'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True'}),
- 'prepares': ('django.db.models.fields.TextField', [], {'default': "'[]'"})
- },
- 'oozie.node': {
- 'Meta': {'object_name': 'Node'},
- 'children': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'parents'", 'symmetrical': 'False', 'through': "orm['oozie.Link']", 'to': "orm['oozie.Node']"}),
- 'description': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '1024', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
- 'node_type': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
- 'workflow': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oozie.Workflow']"})
- },
- 'oozie.pig': {
- 'Meta': {'object_name': 'Pig'},
- 'archives': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'files': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_xml': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '512', 'blank': 'True'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'params': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'prepares': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'script_path': ('django.db.models.fields.CharField', [], {'max_length': '256'})
- },
- 'oozie.shell': {
- 'Meta': {'object_name': 'Shell'},
- 'archives': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'capture_output': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'command': ('django.db.models.fields.CharField', [], {'max_length': '256'}),
- 'files': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_xml': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '512', 'blank': 'True'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'params': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'prepares': ('django.db.models.fields.TextField', [], {'default': "'[]'"})
- },
- 'oozie.sqoop': {
- 'Meta': {'object_name': 'Sqoop'},
- 'archives': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'files': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_xml': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '512', 'blank': 'True'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'params': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'prepares': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'script_path': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'})
- },
- 'oozie.ssh': {
- 'Meta': {'object_name': 'Ssh'},
- 'capture_output': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'command': ('django.db.models.fields.CharField', [], {'max_length': '256'}),
- 'host': ('django.db.models.fields.CharField', [], {'max_length': '256'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'params': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'user': ('django.db.models.fields.CharField', [], {'max_length': '64'})
- },
- 'oozie.start': {
- 'Meta': {'object_name': 'Start'},
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True'})
- },
- 'oozie.streaming': {
- 'Meta': {'object_name': 'Streaming'},
- 'archives': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'files': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'mapper': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'reducer': ('django.db.models.fields.CharField', [], {'max_length': '512'})
- },
- 'oozie.subworkflow': {
- 'Meta': {'object_name': 'SubWorkflow'},
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Node']", 'unique': 'True', 'primary_key': 'True'}),
- 'propagate_configuration': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'sub_workflow': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['oozie.Workflow']"})
- },
- 'oozie.workflow': {
- 'Meta': {'object_name': 'Workflow', '_ormbases': ['oozie.Job']},
- 'end': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'end_workflow'", 'null': 'True', 'to': "orm['oozie.End']"}),
- 'is_single': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
- 'job_properties': ('django.db.models.fields.TextField', [], {'default': "'[]'"}),
- 'job_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['oozie.Job']", 'unique': 'True', 'primary_key': 'True'}),
- 'job_xml': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '512', 'blank': 'True'}),
- 'managed': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
- 'start': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'start_workflow'", 'null': 'True', 'to': "orm['oozie.Start']"})
- }
- }
-
- complete_apps = ['oozie']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment