incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [22/29] Removing the legacy version of blur console.
Date Fri, 27 Jun 2014 13:26:05 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb
deleted file mode 100644
index 1897bb3..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110726194727_add_columns_to_hdfs_stats.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddColumnsToHdfsStats < ActiveRecord::Migration
-  def self.up
-    add_column :hdfs_stats, :host, :string
-    add_column :hdfs_stats, :port, :integer
-  end
-
-  def self.down
-    remove_column :hdfs_stats, :host
-    remove_column :hdfs_stats, :port
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110727012928_create_hdfs.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110727012928_create_hdfs.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110727012928_create_hdfs.rb
deleted file mode 100644
index 9ee6cb6..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110727012928_create_hdfs.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class CreateHdfs < ActiveRecord::Migration
-  def self.up
-    create_table :hdfs do |t|
-      t.string :host
-      t.string :port
-      t.string :name
-
-      t.timestamps
-    end
-  end
-
-  def self.down
-    drop_table :hdfs
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb
deleted file mode 100644
index b3c6001..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110727013041_update_hdfs_stats.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class UpdateHdfsStats < ActiveRecord::Migration
-  def self.up
-    remove_column :hdfs_stats, :hdfs_name
-    add_column :hdfs_stats, :hdfs_id, :integer
-  end
-
-  def self.down
-    add_column :hdfs_stats, :hdfs_name, :string
-    remove_column :hdfs_stats, :hdfs_id
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb
deleted file mode 100644
index f369e81..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110809202748_add_host_and_port_to_zookeeper.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddHostAndPortToZookeeper < ActiveRecord::Migration
-  def self.up
-    add_column :zookeepers, :host, :string
-    add_column :zookeepers, :port, :string
-  end
-
-  def self.down
-    remove_column :zookeepers, :host
-    remove_column :zookeepers, :port
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb
deleted file mode 100644
index 5c298ab..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110810141028_add_row_count_to_blur_table.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddRowCountToBlurTable < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :row_count, :integer, :limit => 8
-  end
-
-  def self.down
-    remove_column :blur_tables, :row_count
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb
deleted file mode 100644
index 2ca4fd8..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110810142348_change_blur_queries_model.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeBlurQueriesModel < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :times, :string
-    remove_column :blur_queries, :cpu_time
-    remove_column :blur_queries, :real_time
-
-    remove_column :blur_queries, :interrupted
-    remove_column :blur_queries, :running
-
-    rename_column :blur_queries, :complete, :complete_shards
-    add_column :blur_queries, :total_shards, :integer
-
-    add_column :blur_queries, :state, :integer
-
-  end
-
-  def self.down
-    remove_column :blur_queries, :times
-    add_column :blur_queries, :cpu_time, :integer
-    add_column :blur_queries, :real_time, :integer
-
-    add_column :blur_queries, :interrupted, :boolean
-    add_column :blur_queries, :running, :boolean
-
-    rename_column :blur_queries, :complete_shards, :complete
-    remove_column :blur_queries, :total_shards
-
-    remove_column :blur_queries, :state
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb
deleted file mode 100644
index 5195883..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110929222508_add_live_nodes_to_hdfs_stats.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddLiveNodesToHdfsStats < ActiveRecord::Migration
-  def self.up
-    add_column :hdfs_stats, :live_nodes, :int
-  end
-
-  def self.down
-    remove_column :hdfs_stats, :live_nodes
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb
deleted file mode 100644
index 09d10cc..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20110929224549_update_hdfs_stats_column_sizes.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class UpdateHdfsStatsColumnSizes < ActiveRecord::Migration
-  def self.up
-    change_column :hdfs_stats, :config_capacity, :integer, :limit => 7
-    change_column :hdfs_stats, :present_capacity, :integer, :limit => 7
-    change_column :hdfs_stats, :dfs_remaining, :integer, :limit => 7
-    change_column :hdfs_stats, :dfs_used, :integer, :limit => 7
-    change_column :hdfs_stats, :under_replicated, :integer, :limit => 7
-    change_column :hdfs_stats, :corrupt_blocks, :integer, :limit => 7
-    change_column :hdfs_stats, :missing_blocks, :integer, :limit => 7
-    change_column :hdfs_stats, :port, :string
-    change_column :hdfs_stats, :dfs_used_percent, :float
-  end
-
-  def self.down
-    change_column :hdfs_stats, :config_capacity, :integer
-    change_column :hdfs_stats, :present_capacity, :integer
-    change_column :hdfs_stats, :dfs_remaining, :integer
-    change_column :hdfs_stats, :dfs_used, :integer
-    change_column :hdfs_stats, :under_replicated, :integer
-    change_column :hdfs_stats, :corrupt_blocks, :integer
-    change_column :hdfs_stats, :missing_blocks, :integer
-    change_column :hdfs_stats, :port, :integer
-    change_column :hdfs_stats, :dfs_used_percent, :decimal
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20111001193840_add_license_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20111001193840_add_license_table.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20111001193840_add_license_table.rb
deleted file mode 100644
index 627ee76..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20111001193840_add_license_table.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddLicenseTable < ActiveRecord::Migration
-  def self.up
-    create_table :licenses, {:id => false} do |t|
-      t.string :org
-      t.date :issued_date
-      t.date :expires_date
-    end
-  end
-
-  def self.down
-    drop_table :licenses
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20111002175546_add_indexes.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20111002175546_add_indexes.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20111002175546_add_indexes.rb
deleted file mode 100644
index e79976e..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20111002175546_add_indexes.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddIndexes < ActiveRecord::Migration
-  def self.up
-    add_index :blur_queries, :blur_table_id
-    add_index :blur_tables, :cluster_id
-    add_index :clusters, :zookeeper_id
-    add_index :controllers, :zookeeper_id
-    add_index :hdfs_stats, :hdfs_id
-    add_index :preferences, :user_id
-    add_index :searches, :blur_table_id
-    add_index :searches, :user_id
-    add_index :shards, :cluster_id
-    add_index :system_metrics, :transaction_id
-    add_index :system_metrics, :request_id
-    add_index :system_metrics, :parent_id
-  end
-
-  def self.down
-    remove_index :blur_queries, :blur_table_id
-    remove_index :blur_tables, :cluster_id
-    remove_index :clusters, :zookeeper_id
-    remove_index :controllers, :zookeeper_id
-    remove_index :hdfs_stats, :hdfs_id
-    remove_index :preferences, :user_id
-    remove_index :searches, :blur_table_id
-    remove_index :searches, :user_id
-    remove_index :shards, :cluster_id
-    remove_index :system_metrics, :transaction_id
-    remove_index :system_metrics, :request_id
-    remove_index :system_metrics, :parent_id
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb
deleted file mode 100644
index ebded79..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20111011041727_remove_extra_columns.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class RemoveExtraColumns < ActiveRecord::Migration
-  def self.up
-    remove_column :shards, :created_at
-    remove_column :shards, :updated_at
-    remove_column :hdfs_stats, :updated_at
-    remove_column :hdfs, :created_at
-    remove_column :hdfs, :updated_at
-    remove_column :controllers, :created_at
-    remove_column :controllers, :updated_at
-    remove_column :clusters, :created_at
-    remove_column :clusters, :updated_at
-    remove_column :blur_tables, :created_at
-  end
-
-  def self.down
-    add_column :shards, :created_at, :datetime
-    add_column :shards, :updated_at, :datetime
-    add_column :hdfs_stats, :updated_at, :datetime
-    add_column :hdfs, :created_at, :datetime
-    add_column :hdfs, :updated_at, :datetime
-    add_column :controllers, :created_at, :datetime
-    add_column :controllers, :updated_at, :datetime
-    add_column :clusters, :created_at, :datetime
-    add_column :clusters, :updated_at, :datetime
-    add_column :blur_tables, :created_at, :datetime
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb
deleted file mode 100644
index e348e71..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20111015191154_add_name_column_to_users.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddNameColumnToUsers < ActiveRecord::Migration
-  def self.up
-    add_column :users, :name, :string
-  end
-
-  def self.down
-    remove_column :users, :name
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb
deleted file mode 100644
index b8373fb..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20111030120201_remove_node_location_column.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class RemoveNodeLocationColumn < ActiveRecord::Migration
-  def self.up
-    remove_column :shards, :node_location
-    remove_column :controllers, :node_location
-  end
-
-  def self.down
-    add_column :shards, :node_location, :string
-    add_column :controllers, :node_location, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb
deleted file mode 100644
index 5753671..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20111030120430_increase_size_of_query_column.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class IncreaseSizeOfQueryColumn < ActiveRecord::Migration
-  def self.up
-    change_column :blur_queries, :query_string, :text
-  end
-
-  def self.down
-    change_column :blur_queries, :query_string, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb
deleted file mode 100644
index adc0d7f..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20111130011338_change_host_port_to_url.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeHostPortToUrl < ActiveRecord::Migration
-  def self.up
-    remove_columns(:zookeepers, :host, :port)
-    add_column(:zookeepers, :blur_urls, :string, :limit=>4000)
-  end
-
-  def self.down
-    add_column :zookeepers, :host, :string
-    add_column :zookeepers, :port, :string
-    remove_column :zookeepers, :blur_urls
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb
deleted file mode 100644
index bac3105..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20111219160043_add_record_only_to_search.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddRecordOnlyToSearch < ActiveRecord::Migration
-  def self.up
-    add_column :searches, :record_only, :boolean, :default => 0
-  end
-
-  def self.down
-    remove_column :searches, :record_only
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb
deleted file mode 100644
index b1a8fb9..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20111229213416_change_licenses_to_add_node_info.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeLicensesToAddNodeInfo < ActiveRecord::Migration
-  def self.up
-    add_column :licenses, :node_overage, :int
-    add_column :licenses, :grace_period_days_remain, :int
-  end
-
-  def self.down
-    remove_column :licenses, :node_overage
-    remove_column :licenses, :grace_period_days_remain
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120110024452_update_license_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120110024452_update_license_table.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120110024452_update_license_table.rb
deleted file mode 100644
index c05f6ee..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120110024452_update_license_table.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class UpdateLicenseTable < ActiveRecord::Migration
-  def self.up
-    add_column :licenses, :cluster_overage, :integer
-  end
-
-  def self.down
-    remove_column :licenses, :cluster_overage
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb
deleted file mode 100644
index 67c8b6e..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120226002653_change_blur_tables_updated_at.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeBlurTablesUpdatedAt < ActiveRecord::Migration
-  def up
-    change_column :blur_tables, :updated_at, :datetime, {:null => true}
-  end
-
-  def down
-    change_column :blur_tables, :updated_at, :datetime, {:null => false}
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120309015311_add_safe_mode.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120309015311_add_safe_mode.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120309015311_add_safe_mode.rb
deleted file mode 100644
index 76a1e8a..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120309015311_add_safe_mode.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddSafeMode < ActiveRecord::Migration
-  def up
-    add_column :clusters, :safe_mode, :boolean
-  end
-
-  def down
-    remove_column :clusters, :safe_mode
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb
deleted file mode 100644
index a5593de..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120604180240_add_record_only_to_blur_queries.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddRecordOnlyToBlurQueries < ActiveRecord::Migration
-  def self.up
-    add_column :blur_queries, :record_only, :boolean
-  end
-
-  def self.down
-    remove_column :blur_queries, :record_only
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb
deleted file mode 100644
index 077302e..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120615195724_change_query_string_to_medium_text_datatype.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeQueryStringToMediumTextDatatype < ActiveRecord::Migration
-  def up
-    change_column :blur_queries, :query_string, :text, :limit=>16777215
-  end
-
-  def down
-    change_column :blur_queries, :query_string, :text
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb
deleted file mode 100644
index f42f960..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120618225024_change_type_to_smaller_size_med_text.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeTypeToSmallerSizeMedText < ActiveRecord::Migration
-  def up
-    change_column :blur_queries, :query_string, :text, :limit => 64.kilobytes + 1
-  end
-
-  def down
-    change_column :blur_queries, :query_string, :text, :limit => 16777215
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb
deleted file mode 100644
index a65fbf2..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120621155420_add_comments_column_to_blur_tables.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddCommentsColumnToBlurTables < ActiveRecord::Migration
-  def self.up
-    add_column :blur_tables, :comments, :string
-  end
-  
-  def self.down
-    remove_column :blur_tables, :comments
-  end
-
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120807191217_create_audits.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120807191217_create_audits.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120807191217_create_audits.rb
deleted file mode 100644
index ed6efd9..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120807191217_create_audits.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class CreateAudits < ActiveRecord::Migration
-  def change
-    create_table :audits do |t|
-      t.string :user
-      t.integer :mutation
-      t.integer :model_affected
-      t.string :action
-
-      t.timestamps
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb
deleted file mode 100644
index 9c1bbf4..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120807192046_change_audit_integers_to_strings.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeAuditIntegersToStrings < ActiveRecord::Migration
-  def up
-    change_column :audits, :mutation, :string
-    change_column :audits, :model_affected, :string
-  end
-
-  def down
-    change_column :audits, :mutation, :integer
-    change_column :audits, :model_affected, :integer
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb
deleted file mode 100644
index 62ea3d7..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120808182829_change_user_to_user_id.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeUserToUserId < ActiveRecord::Migration
-  def up
-    change_column :audits, :user, :integer
-    rename_column :audits, :user, :user_id
-  end
-
-  def down
-    rename_column :audits, :user_id, :user
-    change_column :audits, :user, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb
deleted file mode 100644
index b2e09d0..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120813192325_change_used_to_both_logical_and_real.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeUsedToBothLogicalAndReal < ActiveRecord::Migration
-  def change
-    change_table :hdfs_stats do |t|
-      t.rename :dfs_used, :dfs_used_real
-      t.integer :dfs_used_logical
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb
deleted file mode 100644
index 53d3814..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120813203219_fix_integer_length_for_logical_column.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class FixIntegerLengthForLogicalColumn < ActiveRecord::Migration
-  def change
-    change_table :hdfs_stats do |t|
-      t.change :dfs_used_logical, :integer, :limit => 8
-    end
-  end
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120820073548_update_collation_on_all_tables.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120820073548_update_collation_on_all_tables.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120820073548_update_collation_on_all_tables.rb
deleted file mode 100644
index a792f43..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120820073548_update_collation_on_all_tables.rb
+++ /dev/null
@@ -1,59 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class UpdateCollationOnAllTables < ActiveRecord::Migration
-  def up
-    execute "ALTER TABLE audits DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE audits CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE blur_queries DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE blur_queries CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE blur_tables DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE blur_tables CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE clusters DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE clusters CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE controllers DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE controllers CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE hdfs DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE hdfs CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE hdfs_stats DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE hdfs_stats CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE licenses DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE licenses CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE preferences DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE preferences CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE searches DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE searches CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE shards DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE shards CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE users DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE users CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-    
-    execute "ALTER TABLE zookeepers DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
-    execute "ALTER TABLE zookeepers CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin"
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120824172333_change_controllersto_blur_controllers.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120824172333_change_controllersto_blur_controllers.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120824172333_change_controllersto_blur_controllers.rb
deleted file mode 100644
index c3811a8..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120824172333_change_controllersto_blur_controllers.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeControllerstoBlurControllers < ActiveRecord::Migration
-  def change
-    rename_table :controllers, :blur_controllers
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120824174553_change_shardto_blur_shards.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120824174553_change_shardto_blur_shards.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120824174553_change_shardto_blur_shards.rb
deleted file mode 100644
index 3bb2e54..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120824174553_change_shardto_blur_shards.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class ChangeShardtoBlurShards < ActiveRecord::Migration
-  def change
-    rename_table :shards, :blur_shards
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120827172222_add_zookeeper_to_audits.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120827172222_add_zookeeper_to_audits.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120827172222_add_zookeeper_to_audits.rb
deleted file mode 100644
index 5622439..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120827172222_add_zookeeper_to_audits.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddZookeeperToAudits < ActiveRecord::Migration
-  def change
-    add_column :audits, :zookeeper_affected, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120926202222_add_pre_filter_to_search.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120926202222_add_pre_filter_to_search.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120926202222_add_pre_filter_to_search.rb
deleted file mode 100644
index 58bf9b4..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120926202222_add_pre_filter_to_search.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddPreFilterToSearch < ActiveRecord::Migration
-  def change
-    add_column :searches, :pre_filter, :text
-
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20120926202240_add_post_filter_to_search.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20120926202240_add_post_filter_to_search.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20120926202240_add_post_filter_to_search.rb
deleted file mode 100644
index 404234b..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20120926202240_add_post_filter_to_search.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddPostFilterToSearch < ActiveRecord::Migration
-  def change
-    add_column :searches, :post_filter, :text
-
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20121025175857_add_online_ensemble_nodes.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20121025175857_add_online_ensemble_nodes.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20121025175857_add_online_ensemble_nodes.rb
deleted file mode 100644
index f177616..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20121025175857_add_online_ensemble_nodes.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddOnlineEnsembleNodes < ActiveRecord::Migration
-  def change
-    add_column :zookeepers, :online_ensemble_nodes, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20121030184429_add_timestamps_to_blur_objects.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20121030184429_add_timestamps_to_blur_objects.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20121030184429_add_timestamps_to_blur_objects.rb
deleted file mode 100644
index ecf9325..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20121030184429_add_timestamps_to_blur_objects.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddTimestampsToBlurObjects < ActiveRecord::Migration
-  def change
-    change_table :blur_shards do |table|
-      table.timestamps
-    end
-    change_table :blur_controllers do |table|
-      table.timestamps
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20121220193623_add_admin_conifgurations_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20121220193623_add_admin_conifgurations_table.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20121220193623_add_admin_conifgurations_table.rb
deleted file mode 100644
index c88062e..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20121220193623_add_admin_conifgurations_table.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class AddAdminConifgurationsTable < ActiveRecord::Migration
-  def change
-    create_table :admin_settings do |table|
-      table.column :setting, :string, :null => false
-      table.column :value, :string
-      table.timestamps
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20130106191159_rename_status_columns.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20130106191159_rename_status_columns.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20130106191159_rename_status_columns.rb
deleted file mode 100644
index 673a73a..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20130106191159_rename_status_columns.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class RenameStatusColumns < ActiveRecord::Migration
-  def up
-    rename_column :blur_controllers, :status, :controller_status
-    rename_column :blur_shards, :status, :shard_status
-    rename_column :blur_tables, :status, :table_status
-    rename_column :zookeepers, :status, :zookeeper_status
-  end
-
-  def down
-    rename_column :blur_controllers, :controller_status, :status
-    rename_column :blur_shards, :shard_status, :status
-    rename_column :blur_tables, :table_status, :status
-    rename_column :zookeepers, :status, :zookeeper_status
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20130505151503_drop_licenses_table.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20130505151503_drop_licenses_table.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20130505151503_drop_licenses_table.rb
deleted file mode 100644
index 2409c6c..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20130505151503_drop_licenses_table.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-class DropLicensesTable < ActiveRecord::Migration
-  def up
-    drop_table :licenses
-  end
-
-  def down
-    create_table "licenses", :id => false, :force => true do |t|
-      t.string  "org"
-      t.date    "issued_date"
-      t.date    "expires_date"
-      t.integer "node_overage"
-      t.integer "grace_period_days_remain"
-      t.integer "cluster_overage"
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20130829031155_change_blur_queries_uuid_to_string.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20130829031155_change_blur_queries_uuid_to_string.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20130829031155_change_blur_queries_uuid_to_string.rb
deleted file mode 100644
index 458f5a0..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20130829031155_change_blur_queries_uuid_to_string.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-class ChangeBlurQueriesUuidToString < ActiveRecord::Migration
-  def up
-    change_column :blur_queries, :uuid, :string
-  end
-
-  def down
-    change_column :blur_queries, :uuid, :limit => 8
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/migrate/20130904130250_increase_size_of_query_times_json.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/migrate/20130904130250_increase_size_of_query_times_json.rb b/contrib/blur-console-v1/blur-admin/db/migrate/20130904130250_increase_size_of_query_times_json.rb
deleted file mode 100644
index ba9a21e..0000000
--- a/contrib/blur-console-v1/blur-admin/db/migrate/20130904130250_increase_size_of_query_times_json.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-class IncreaseSizeOfQueryTimesJson < ActiveRecord::Migration
-  def up
-    change_column :blur_queries, :times, :text
-  end
-
-  def down
-    change_column :blur_queries, :times, :string
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/schema.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/schema.rb b/contrib/blur-console-v1/blur-admin/db/schema.rb
deleted file mode 100644
index 88a4b9c..0000000
--- a/contrib/blur-console-v1/blur-admin/db/schema.rb
+++ /dev/null
@@ -1,199 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#  http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-# encoding: UTF-8
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# Note that this schema.rb definition is the authoritative source for your
-# database schema. If you need to create the application database on another
-# system, you should be using db:schema:load, not running all the migrations
-# from scratch. The latter is a flawed and unsustainable approach (the more migrations
-# you'll amass, the slower it'll run and the greater likelihood for issues).
-#
-# It's strongly recommended to check this file into your version control system.
-
-ActiveRecord::Schema.define(:version => 20130904130250) do
-
-  create_table "admin_settings", :force => true do |t|
-    t.string   "setting",    :null => false
-    t.string   "value"
-    t.datetime "created_at", :null => false
-    t.datetime "updated_at", :null => false
-  end
-
-  create_table "audits", :force => true do |t|
-    t.integer  "user_id"
-    t.string   "mutation"
-    t.string   "model_affected"
-    t.string   "action"
-    t.datetime "created_at",         :null => false
-    t.datetime "updated_at",         :null => false
-    t.string   "zookeeper_affected"
-  end
-
-  create_table "blur_controllers", :force => true do |t|
-    t.integer  "controller_status"
-    t.string   "blur_version"
-    t.string   "node_name"
-    t.integer  "zookeeper_id"
-    t.datetime "created_at",        :null => false
-    t.datetime "updated_at",        :null => false
-  end
-
-  add_index "blur_controllers", ["zookeeper_id"], :name => "index_controllers_on_zookeeper_id"
-
-  create_table "blur_queries", :force => true do |t|
-    t.text     "query_string",             :limit => 16777215
-    t.integer  "complete_shards"
-    t.string   "uuid"
-    t.datetime "created_at",                                   :null => false
-    t.datetime "updated_at",                                   :null => false
-    t.boolean  "super_query_on"
-    t.string   "facets"
-    t.integer  "start"
-    t.integer  "fetch_num"
-    t.text     "pre_filters",              :limit => 16777215
-    t.text     "post_filters",             :limit => 16777215
-    t.text     "selector_column_families"
-    t.text     "selector_columns"
-    t.string   "userid"
-    t.integer  "blur_table_id"
-    t.text     "times"
-    t.integer  "total_shards"
-    t.integer  "state"
-    t.boolean  "record_only"
-  end
-
-  add_index "blur_queries", ["blur_table_id"], :name => "index_blur_queries_on_blur_table_id"
-
-  create_table "blur_shards", :force => true do |t|
-    t.integer  "shard_status"
-    t.string   "blur_version"
-    t.string   "node_name"
-    t.integer  "cluster_id"
-    t.datetime "created_at",   :null => false
-    t.datetime "updated_at",   :null => false
-  end
-
-  add_index "blur_shards", ["cluster_id"], :name => "index_shards_on_cluster_id"
-
-  create_table "blur_tables", :force => true do |t|
-    t.string   "table_name"
-    t.integer  "current_size",   :limit => 8
-    t.integer  "query_usage"
-    t.datetime "updated_at"
-    t.integer  "record_count",   :limit => 8
-    t.integer  "table_status"
-    t.string   "table_uri"
-    t.text     "table_analyzer"
-    t.text     "table_schema"
-    t.text     "server"
-    t.integer  "cluster_id"
-    t.integer  "row_count",      :limit => 8
-    t.string   "comments"
-  end
-
-  add_index "blur_tables", ["cluster_id"], :name => "index_blur_tables_on_cluster_id"
-
-  create_table "clusters", :force => true do |t|
-    t.string  "name"
-    t.integer "zookeeper_id"
-    t.boolean "safe_mode"
-  end
-
-  add_index "clusters", ["zookeeper_id"], :name => "index_clusters_on_zookeeper_id"
-
-  create_table "hdfs", :force => true do |t|
-    t.string "host"
-    t.string "port"
-    t.string "name"
-  end
-
-  create_table "hdfs_stats", :force => true do |t|
-    t.integer  "config_capacity",  :limit => 8
-    t.integer  "present_capacity", :limit => 8
-    t.integer  "dfs_remaining",    :limit => 8
-    t.integer  "dfs_used_real",    :limit => 8
-    t.float    "dfs_used_percent"
-    t.integer  "under_replicated", :limit => 8
-    t.integer  "corrupt_blocks",   :limit => 8
-    t.integer  "missing_blocks",   :limit => 8
-    t.integer  "total_nodes"
-    t.integer  "dead_nodes"
-    t.datetime "created_at",                    :null => false
-    t.string   "host"
-    t.string   "port"
-    t.integer  "hdfs_id"
-    t.integer  "live_nodes"
-    t.integer  "dfs_used_logical", :limit => 8
-  end
-
-  add_index "hdfs_stats", ["hdfs_id"], :name => "index_hdfs_stats_on_hdfs_id"
-
-  create_table "preferences", :force => true do |t|
-    t.string   "name"
-    t.string   "pref_type"
-    t.text     "value"
-    t.datetime "created_at", :null => false
-    t.datetime "updated_at", :null => false
-    t.integer  "user_id"
-  end
-
-  add_index "preferences", ["user_id"], :name => "index_preferences_on_user_id"
-
-  create_table "searches", :force => true do |t|
-    t.boolean  "super_query"
-    t.text     "columns"
-    t.integer  "fetch"
-    t.integer  "offset"
-    t.string   "name"
-    t.string   "query"
-    t.integer  "blur_table_id"
-    t.integer  "user_id"
-    t.datetime "created_at",                       :null => false
-    t.datetime "updated_at",                       :null => false
-    t.boolean  "record_only",   :default => false
-    t.text     "pre_filter"
-    t.text     "post_filter"
-  end
-
-  add_index "searches", ["blur_table_id"], :name => "index_searches_on_blur_table_id"
-  add_index "searches", ["user_id"], :name => "index_searches_on_user_id"
-
-  create_table "users", :force => true do |t|
-    t.string   "username"
-    t.string   "email"
-    t.string   "crypted_password"
-    t.string   "password_salt"
-    t.string   "persistence_token"
-    t.datetime "created_at",        :null => false
-    t.datetime "updated_at",        :null => false
-    t.integer  "roles_mask"
-    t.string   "name"
-  end
-
-  create_table "zookeepers", :force => true do |t|
-    t.string  "url"
-    t.string  "name"
-    t.integer "zookeeper_status"
-    t.string  "blur_urls",             :limit => 4000
-    t.string  "online_ensemble_nodes"
-  end
-
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/db/seeds.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/db/seeds.rb b/contrib/blur-console-v1/blur-admin/db/seeds.rb
deleted file mode 100644
index bcddc9d..0000000
--- a/contrib/blur-console-v1/blur-admin/db/seeds.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-#   cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
-#   Mayor.create(:name => 'Daley', :city => cities.first)
-
-User.create({:username => 'admin',
-            :name => 'Delete Me',
-            :password => 'password',
-            :password_confirmation =>
-            'password',
-            :email => 'admin@blurtools.io',
-            :roles_mask => 31}, :without_protection => true)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/lib/blur_thrift_client.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/lib/blur_thrift_client.rb b/contrib/blur-console-v1/blur-admin/lib/blur_thrift_client.rb
deleted file mode 100644
index e0aebfb..0000000
--- a/contrib/blur-console-v1/blur-admin/lib/blur_thrift_client.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-class BlurThriftClient
-  @@connections = {}
-
-  # ["host:port","host2:port"]
-  def self.client(host_port)
-    if host_port.class == String
-      urls = host_port.split(/,/)
-    else
-      urls = Array(host_port)
-    end
-    ThriftClient.new Blur::Blur::Client, urls, :retries => 10
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/lib/hdfs_thrift_client.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/lib/hdfs_thrift_client.rb b/contrib/blur-console-v1/blur-admin/lib/hdfs_thrift_client.rb
deleted file mode 100644
index bed9146..0000000
--- a/contrib/blur-console-v1/blur-admin/lib/hdfs_thrift_client.rb
+++ /dev/null
@@ -1,93 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with this
-# work for additional information regarding copyright ownership. The ASF
-# licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-class HdfsThriftClient
-  @@connections = {}
-
-  def self.client(host_port)
-    socket = Thrift::Socket.new(host_port.split(":").first,host_port.split(":").last)
-    transport = Thrift::BufferedTransport.new(socket)
-    transport.open
-    protocol = Thrift::BinaryProtocol.new(transport)
-    client = ThriftHadoopFileSystem::Client.new(protocol)
-    
-    Client.new(client)
-  end
-
-  class Client
-    def initialize(client)
-      @client = client
-    end
-
-    def stat(path)
-      @client.stat(pathname(path))
-    end
-
-    def mkdirs(path)
-      @client.mkdirs(pathname(path))
-    end
-
-    def rename(from, to)
-      @client.rename(pathname(from),pathname(to))
-    end
-
-    def delete(path, recursive=false)
-      @client.rm pathname(path), recursive
-    end
-
-    def put(local, remote)
-      handle = @client.create(pathname(remote))
-      Kernel.open(local) { |source|
-        # read 1 MB at a time
-        while record = source.read(1048576)
-          @client.write(handle, record)
-        end
-        @client.close(handle)
-      }
-    end
-
-    def ls(path, recursive=false)
-      statuses = @client.listStatus(pathname(path))
-      return statuses unless recursive
-      statuses + statuses.select { |s| s.isdir }.map { |s| ls(s.path, recursive) }.flatten
-    end
-    
-    def folder_tree(path, depth)
-      if depth == 0
-       return {:name => path, :size => folder_size(path)}
-     end
-      statuses = @client.listStatus(pathname(path))
-      file_tree = {:name => path, :children =>
-        statuses.map do |status|
-          status.isdir ? folder_tree(status.path, depth - 1) : {:name => status.path, :size => status.length}
-        end
-      }
-    end
-    
-  private
-    def pathname(path)
-      ThriftHadoopFileSystem::Pathname.new(:pathname => path.to_s)
-    end
-    
-    def folder_size(path)
-      statuses = @client.listStatus(pathname(path))
-      size = 0
-      statuses.each do |status|
-        size += status.isdir ? folder_size(status.path) : status.length
-      end
-      size
-    end
-  end
-end


Mime
View raw message