incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [3/4] git commit: Blur-128: Added license info to blur console
Date Thu, 13 Jun 2013 02:26:57 GMT
Blur-128: Added license info to blur console

Signed-off-by: Aaron McCurry <amccurry@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/47a0ee48
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/47a0ee48
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/47a0ee48

Branch: refs/heads/master
Commit: 47a0ee48e797bd4bdcf8f071743e36ead718981c
Parents: 3db5c4b
Author: Chris Rohr <crohr@nearinfinity.com>
Authored: Wed Jun 12 07:20:06 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Jun 12 22:26:24 2013 -0400

----------------------------------------------------------------------
 contrib/blur-console/README                     |   8 -
 contrib/blur-console/blur-admin/Gemfile         |  28 +--
 contrib/blur-console/blur-admin/Gemfile.lock    |  17 ++
 contrib/blur-console/blur-admin/Rakefile        |  19 ++
 contrib/blur-console/blur-admin/Regression.md   |  90 ----------
 .../blur-admin/app/views/audits/index.html.haml |  18 ++
 .../views/blur_queries/_blur_query.html.haml    |  18 ++
 .../app/views/blur_queries/_show.html.haml      |  18 ++
 .../app/views/blur_queries/index.html.haml      |  18 ++
 .../app/views/blur_tables/index.html.haml       |  18 ++
 .../app/views/errors/error_404.html.haml        |  18 ++
 .../app/views/errors/error_422.html.haml        |  18 ++
 .../app/views/errors/error_500.html.haml        |  18 ++
 .../blur-admin/app/views/hdfs/_expand.html.haml |  18 ++
 .../app/views/hdfs/_file_info.html.haml         |  18 ++
 .../app/views/hdfs/_folder_info.html.haml       |  18 ++
 .../blur-admin/app/views/hdfs/_info.html.haml   |  18 ++
 .../blur-admin/app/views/hdfs/_upload.html.haml |  18 ++
 .../app/views/hdfs/_upload_form.html.haml       |  18 ++
 .../blur-admin/app/views/hdfs/index.html.haml   |  18 ++
 .../views/hdfs_metrics/_hdfs_graph.html.haml    |  18 ++
 .../hdfs_metrics/_hdfs_joined_graph.html.haml   |  18 ++
 .../app/views/hdfs_metrics/index.html.haml      |  18 ++
 .../app/views/layouts/_help_menu.html.haml      |  18 ++
 .../app/views/layouts/application.html.haml     | 176 ++++++++++---------
 .../app/views/searches/_saved.html.haml         |  44 +++--
 .../app/views/searches/create.html.haml         |  18 ++
 .../app/views/searches/index.html.haml          |  18 ++
 .../app/views/shared/_icons.html.haml           |  18 ++
 .../app/views/user_sessions/_form.html.haml     |  18 ++
 .../app/views/user_sessions/new.html.haml       |  22 ++-
 .../blur-admin/app/views/users/_form.html.haml  |  84 +++++----
 .../blur-admin/app/views/users/edit.html.haml   |  18 ++
 .../blur-admin/app/views/users/index.html.haml  |  74 +++++---
 .../blur-admin/app/views/users/new.html.haml    |  34 +++-
 .../blur-admin/app/views/users/show.html.haml   |  18 ++
 .../app/views/zookeepers/_hdfs_stat.html.haml   |  18 ++
 .../app/views/zookeepers/_zookeeper.html.haml   |  18 ++
 .../app/views/zookeepers/index.html.haml        |  18 ++
 .../app/views/zookeepers/show.html.haml         |  18 ++
 contrib/blur-console/blur-admin/config.ru       |  18 ++
 .../blur-console/blur-admin/config/database.yml |  42 ++---
 .../blur-admin/config/locales/en.yml            |  18 ++
 .../20110524204140_create_blur_tables.rb        |  17 ++
 .../migrate/20110524213803_create_hdfs_stats.rb |  17 ++
 .../20110525015557_create_blur_queries.rb       |  17 ++
 ...26003150_add_extra_columns_to_blur_tables.rb |  17 ++
 ...193123_add_filter_columns_to_blur_queries.rb |  17 ++
 .../20110526201313_modify_fetch_column_name.rb  |  17 ++
 .../20110602014308_add_selector_columns.rb      |  17 ++
 ...20110603004748_add_userid_to_blur_queries.rb |  17 ++
 .../db/migrate/20110607191131_create_users.rb   |  17 ++
 .../20110613135529_add_roles_mask_to_users.rb   |  17 ++
 ...614201547_add_count_column_to_blur_tables.rb |  17 ++
 ...16133049_add_status_column_to_blur_tables.rb |  17 ++
 ...40116_add_agentdata_column_to_blur_tables.rb |  17 ++
 .../migrate/20110617142244_fix_table_types.rb   |  17 ++
 .../20110617163052_change_schema_column.rb      |  17 ++
 ...02105_add_table_id_column_to_blur_queries.rb |  17 ++
 ...emove_table_name_column_from_blur_queries.rb |  17 ++
 ...621225406_create_blur_zookeeper_instances.rb |  17 ++
 .../20110621225838_create_controllers.rb        |  17 ++
 .../migrate/20110621230243_create_clusters.rb   |  17 ++
 .../db/migrate/20110621230340_create_shards.rb  |  17 ++
 ...pdate_columns_on_blur_zookeeper_instances.rb |  17 ++
 ...0_add_status_column_to_zookeeper_instance.rb |  17 ++
 .../20110627180604_change_uuid_columntoint.rb   |  17 ++
 .../20110627183020_change_uuid_int_to_bigint.rb |  17 ++
 ...0801_change_cluster_to_belong_to_instance.rb |  17 ++
 ...me_blur_zookeeper_instances_to_zookeepers.rb |  17 ++
 ...0161453_rename_blur_zookeeper_instance_id.rb |  17 ++
 ..._change_blur_table_current_size_to_bigint.rb |  17 ++
 .../migrate/20110701185350_create_searches.rb   |  17 ++
 ...0110705170021_change_columnsto_textobject.rb |  17 ++
 ...191234_add_column_shard_id_to_blur_tables.rb |  17 ++
 ...707132418_create_shards_blur_tables_table.rb |  17 ++
 ...pdate_model_with_new_understand_of_shards.rb |  17 ++
 .../20110713141138_create_preferences.rb        |  17 ++
 ...adding_useridto_the_model_for_association.rb |  17 ++
 .../20110719191147_create_metrics_table.rb      |  17 ++
 .../20110726194727_add_columns_to_hdfs_stats.rb |  17 ++
 .../db/migrate/20110727012928_create_hdfs.rb    |  17 ++
 .../migrate/20110727013041_update_hdfs_stats.rb |  17 ++
 ...0809202748_add_host_and_port_to_zookeeper.rb |  17 ++
 ...0110810141028_add_row_count_to_blur_table.rb |  17 ++
 .../20110810142348_change_blur_queries_model.rb |  17 ++
 ...110929222508_add_live_nodes_to_hdfs_stats.rb |  17 ++
 ...0929224549_update_hdfs_stats_column_sizes.rb |  17 ++
 .../migrate/20111001193840_add_license_table.rb |  17 ++
 .../db/migrate/20111002175546_add_indexes.rb    |  17 ++
 .../20111011041727_remove_extra_columns.rb      |  17 ++
 .../20111015191154_add_name_column_to_users.rb  |  17 ++
 ...0111030120201_remove_node_location_column.rb |  17 ++
 ...11030120430_increase_size_of_query_column.rb |  17 ++
 .../20111130011338_change_host_port_to_url.rb   |  17 ++
 .../20111219160043_add_record_only_to_search.rb |  17 ++
 ...29213416_change_licenses_to_add_node_info.rb |  17 ++
 .../20120110024452_update_license_table.rb      |  17 ++
 ...20226002653_change_blur_tables_updated_at.rb |  17 ++
 .../db/migrate/20120309015311_add_safe_mode.rb  |  17 ++
 ...604180240_add_record_only_to_blur_queries.rb |  17 ++
 ...ange_query_string_to_medium_text_datatype.rb |  17 ++
 ...5024_change_type_to_smaller_size_med_text.rb |  17 ++
 ...155420_add_comments_column_to_blur_tables.rb |  17 ++
 .../db/migrate/20120807191217_create_audits.rb  |  17 ++
 ...07192046_change_audit_integers_to_strings.rb |  17 ++
 .../20120808182829_change_user_to_user_id.rb    |  17 ++
 ...2325_change_used_to_both_logical_and_real.rb |  17 ++
 ...219_fix_integer_length_for_logical_column.rb |  17 ++
 ...0820073548_update_collation_on_all_tables.rb |  17 ++
 ...333_change_controllersto_blur_controllers.rb |  17 ++
 ...20120824174553_change_shardto_blur_shards.rb |  17 ++
 .../20120827172222_add_zookeeper_to_audits.rb   |  17 ++
 .../20120926202222_add_pre_filter_to_search.rb  |  17 ++
 .../20120926202240_add_post_filter_to_search.rb |  17 ++
 .../20121025175857_add_online_ensemble_nodes.rb |  17 ++
 ...1030184429_add_timestamps_to_blur_objects.rb |  17 ++
 ...1220193623_add_admin_conifgurations_table.rb |  17 ++
 .../20130106191159_rename_status_columns.rb     |  17 ++
 .../20130505151503_drop_licenses_table.rb       |  17 ++
 .../blur-console/blur-admin/doc/README_FOR_APP  |   2 -
 .../blur-console/blur-admin/lib/assets/.gitkeep |   0
 .../blur-console/blur-admin/lib/tasks/.gitkeep  |   0
 .../blur-admin/lib/tasks/coverage.rake          |  18 ++
 .../blur-admin/lib/tasks/pounder.rake           |  18 ++
 .../blur-console/blur-admin/public/robots.txt   |  18 ++
 .../blur-console/blur-admin/spec/rspec-help.txt |   8 -
 .../vendor/assets/javascripts/.gitkeep          |   0
 .../javascripts/backbone/backbone-extension.js  |  17 ++
 .../javascripts/bootstrap-modal-helper.js       |  17 ++
 .../vendor/assets/javascripts/flash_message.js  |  17 ++
 .../assets/javascripts/jquery.osxFinder.js      |  17 ++
 .../assets/stylesheets/jquery.osxFinder.css     |  17 ++
 .../blur-admin/vendor/plugins/.gitkeep          |   0
 contrib/blur-console/build.sh                   |  15 ++
 contrib/blur-console/etc/VERSION                |  17 ++
 contrib/blur-console/etc/agent.config.sample    |  18 ++
 contrib/blur-console/etc/agent.sh               |  18 ++
 contrib/blur-console/etc/default/Gemfile        |  18 ++
 contrib/blur-console/etc/default/database.yml   |  18 ++
 contrib/blur-console/etc/log4j.properties       |  18 ++
 contrib/blur-console/etc/start-agent.sh         |  18 ++
 contrib/blur-console/etc/stop-agent.sh          |  18 ++
 143 files changed, 2507 insertions(+), 305 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/README
----------------------------------------------------------------------
diff --git a/contrib/blur-console/README b/contrib/blur-console/README
deleted file mode 100644
index cbf515b..0000000
--- a/contrib/blur-console/README
+++ /dev/null
@@ -1,8 +0,0 @@
-The following tools are included in this repository:
-
-Console:
-    rails application
-        - The admin rails application for administering a Blur instance
-
-    agent
-        - Java agent that collects various information for the admin console

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/Gemfile
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/Gemfile b/contrib/blur-console/blur-admin/Gemfile
index c9c4f16..311cd58 100644
--- a/contrib/blur-console/blur-admin/Gemfile
+++ b/contrib/blur-console/blur-admin/Gemfile
@@ -1,3 +1,20 @@
+#  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.
+
 source 'https://rubygems.org'
 
 gem 'rails', '3.2.2'
@@ -17,7 +34,6 @@ gem 'ejs'
 # Gems used only for assets and not required
 # in production environments by default.
 group :assets do
-  gem 'coffee-rails', '~> 3.2.1'
   gem 'uglifier', '>= 1.0.3'
 end
 
@@ -25,15 +41,7 @@ group :development, :test do
   gem 'rspec-rails'
   gem 'capybara'
   gem 'capybara-webkit'
-  gem 'ci_reporter'
-  gem 'rails-erd'
   gem 'factory_girl_rails'
   gem 'launchy'
   gem 'thin'
-  gem 'debugger'
-end
-
-group :test do
-  gem 'simplecov', :require => false
-end
-
+end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/Gemfile.lock
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/Gemfile.lock b/contrib/blur-console/blur-admin/Gemfile.lock
index 83e00ae..36e4071 100644
--- a/contrib/blur-console/blur-admin/Gemfile.lock
+++ b/contrib/blur-console/blur-admin/Gemfile.lock
@@ -1,3 +1,20 @@
+#  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.
+
 PATH
   remote: vendor/gems/cancan
   specs:

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/Rakefile
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/Rakefile b/contrib/blur-console/blur-admin/Rakefile
index 8427d1e..143b4ca 100644
--- a/contrib/blur-console/blur-admin/Rakefile
+++ b/contrib/blur-console/blur-admin/Rakefile
@@ -1,4 +1,23 @@
 #!/usr/bin/env rake
+
+#  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.
+
+
 # Add your own tasks in files placed in lib/tasks ending in .rake,
 # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/Regression.md
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/Regression.md b/contrib/blur-console/blur-admin/Regression.md
deleted file mode 100644
index d53e8d5..0000000
--- a/contrib/blur-console/blur-admin/Regression.md
+++ /dev/null
@@ -1,90 +0,0 @@
-# Regression Testing
-## Steps needed to manually regression test BlurConsole:
-
-### Dashboard
-  1. Click on a zookeeper, this should take you to that zookeepers environment page and set it as the current zookeeper.
-  2. Click on an hdfs, this should take you to the hdfs page and open up the root of the selected hdfs instance.
-  3. Change the state of a few of the shards and controllers, make sure that the zookeeper widgets update properly. This includes the icon states and the number of online and offline shards/controllers.
-  4. Change the state of the hdfs, make sure that the hdfs widgets update properly.
-  5. Start a new session, and click on the Environment header link, this should prompt a popup asking for a Zookeeper to set as the current.
-
-  Last Completed: 1/7/2013
-
-### Environment Page
-  1. Ensure that the values in the tables track the state of the nodes (similar to the Dashboard page). Change values and ensure that the values in the tables update.
-  2. Change the zookeeper status and ensure that the header changes color and text properly.
-  3. Set the zookeeper, controller's, and shard's status to offline. While offline they should have an 'x' icon that will 'forget' the nodes. Ensure that this is true and that by clicking each one the item is removed.
-
-  Last Completed: 1/7/2013
-
-### Blur Tables Page
-  1. Enable, disable, and delete tables. Ensure that the tables move into their intermediary states and then eventually reach their end state.
-    * Try this with tables that have been queried recently
-    * Try this with the check all and multi-check functionality
-  2. View the hosts and shards, ensure that the values are accurate.
-  3. Click on the view column and ensure that the table metadata is consistent.
-    * Also while inside this popup test that the terms search ability still works.
-  4. Comment on a table and ensure that the comment is preserved during table state changes.
-
-
-### Blur Queries Page
-  1. Run, or create, a few queries and ensure that they appear in the queries table.
-  2. Set the "Queries in the last" option to the different values and ensure that they are being hidden / shown properly.
-  3. Set the "Quick filter" to the different values and ensure that the queries are being properly filtered.
-  4. Set the "Auto Refresh" to the different values and ensure that the server is being queried at the new interval.
-  5. Test a few different filters in the "Filter Queries" box, be sure to test the hidden column state.
-  6. Test that the columns sort properly when sorting by each header.
-
-  Last Completed: 1/7/2013
-
-### Search Page
-  1. Run a query and ensure that it is returning results.
-  2. Change the table and test to see that it changes the filters in the advanced tab.
-  3. Advanced Tab
-    * Test that the column and column family filters work properly.
-    * Test that the search on and return functions limit each other and request / return the proper values.
-    * Test that start and fetch alter the returned results.
-    * Test the pre and post filters.
-  4. Saved Tab
-    * Test creating a new saved search
-    * Test loading a saved search
-    * Test updating a saved search
-    * Test deleting a saved search
-
-  Last Completed: 1/7/2013
-
-### Hdfs Page
-  1. Traverse the file system looking at top level hdfs instances, folders, and files.
-  2. Right click at each level to see the changes in the options.
-  3. Test each of the menu options at each level.
-  4. Test that the radial graph works and can be navigated.
-
-  Last Completed: 1/7/2013
-
-### Hdfs Metrics Page
-  1. Hover over the data points and check that the labels are displaying the proper values.
-  2. Change the date range using the calendar popup and the sliders, ensure that the range is changing properly.
-  3. Check that the above tests pass for all tabs.
-
-  Last Completed: 1/7/2013
-
-### Audits Page
-  1. Perform a few actions that will cause an audit to be generated, then check that the audit is displayed in the audit table.
-  2. Change the date range and ensure that the audits outside the range are removed from the list.
-  3. Enter a few different search terms into the "Filter Audits" box and test that it is properly filtering the audits.
-
-  Last Completed: 1/7/2013
-
-### Admin Page
-  1. Test that an admin can edit a user.
-  2. Test that an admin can create a user.
-  3. Test that an admin can delete a user.
-  3. Test that an admin can change Table Filter regex.
-
-  Last Completed: 1/7/2013
-
-### Account Page
-  1. Test that a user can choose column family preferences, also ensure that these preferences are being enforced on the search page.
-  2. Test that a user can choose a zookeeper preference, also ensure that this preference is being enforced on the initial navigation of the app.
-  3. Test that a user can edit themselves, and not others.
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/audits/index.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/audits/index.html.haml b/contrib/blur-console/blur-admin/app/views/audits/index.html.haml
index c5da6a9..96882f5 100644
--- a/contrib/blur-console/blur-admin/app/views/audits/index.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/audits/index.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - content_for :title, 'Audits'
 - content_for :javascript do
   =javascript_include_tag 'audits.js'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/blur_queries/_blur_query.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/blur_queries/_blur_query.html.haml b/contrib/blur-console/blur-admin/app/views/blur_queries/_blur_query.html.haml
index 57d0931..b9a0a25 100644
--- a/contrib/blur-console/blur-admin/app/views/blur_queries/_blur_query.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/blur_queries/_blur_query.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 %tr[@blur_query]{'data-age' => Time.now - @blur_query.created_at }>
   %td.userid= print_value(@blur_query.userid)
   - if can? :index, :blur_queries, :query_string

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/blur_queries/_show.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/blur_queries/_show.html.haml b/contrib/blur-console/blur-admin/app/views/blur_queries/_show.html.haml
index 9d2248c..481243e 100644
--- a/contrib/blur-console/blur-admin/app/views/blur_queries/_show.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/blur_queries/_show.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - empty_message = 'Not Available'
 
 %table#more-info-table.table.table-striped.table-condensed

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/blur_queries/index.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/blur_queries/index.html.haml b/contrib/blur-console/blur-admin/app/views/blur_queries/index.html.haml
index b982f1d..e40a18b 100644
--- a/contrib/blur-console/blur-admin/app/views/blur_queries/index.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/blur_queries/index.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - content_for :title, 'Blur Queries'
 
 - content_for :javascript do

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/blur_tables/index.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/blur_tables/index.html.haml b/contrib/blur-console/blur-admin/app/views/blur_tables/index.html.haml
index 1db32b7..b046003 100644
--- a/contrib/blur-console/blur-admin/app/views/blur_tables/index.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/blur_tables/index.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - content_for :title, 'Blur Tables'
 - content_for :javascript do
   =javascript_include_tag 'blur_table/blur_tables'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/errors/error_404.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/errors/error_404.html.haml b/contrib/blur-console/blur-admin/app/views/errors/error_404.html.haml
index 8c4cb10..346e624 100644
--- a/contrib/blur-console/blur-admin/app/views/errors/error_404.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/errors/error_404.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 %title Blur Console - Error 404
 #error_wrapper
   %img{:src => image_path('404_file_not_found.png'), :title => 'File Not Found'}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/errors/error_422.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/errors/error_422.html.haml b/contrib/blur-console/blur-admin/app/views/errors/error_422.html.haml
index db9548a..3b1c521 100644
--- a/contrib/blur-console/blur-admin/app/views/errors/error_422.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/errors/error_422.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 %title Blur Console - Error 422
 #error_wrapper
   %h1 The change you wanted was rejected.

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/errors/error_500.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/errors/error_500.html.haml b/contrib/blur-console/blur-admin/app/views/errors/error_500.html.haml
index 7e473e3..46a4aec 100644
--- a/contrib/blur-console/blur-admin/app/views/errors/error_500.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/errors/error_500.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 %title Blur Console - Error 500
 #error_wrapper
   %h2 We're sorry, but there was an error with our server.

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/hdfs/_expand.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/hdfs/_expand.html.haml b/contrib/blur-console/blur-admin/app/views/hdfs/_expand.html.haml
index ada44f8..5d246ee 100644
--- a/contrib/blur-console/blur-admin/app/views/hdfs/_expand.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/hdfs/_expand.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 -if @children.blank?
   .noFiles No Files Found
 -else

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/hdfs/_file_info.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/hdfs/_file_info.html.haml b/contrib/blur-console/blur-admin/app/views/hdfs/_file_info.html.haml
index 680ffe4..bbc77ae 100644
--- a/contrib/blur-console/blur-admin/app/views/hdfs/_file_info.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/hdfs/_file_info.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 #file_table
   %table
     %tr

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/hdfs/_folder_info.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/hdfs/_folder_info.html.haml b/contrib/blur-console/blur-admin/app/views/hdfs/_folder_info.html.haml
index 89f67ce..afe72e0 100644
--- a/contrib/blur-console/blur-admin/app/views/hdfs/_folder_info.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/hdfs/_folder_info.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 .info-modal
   .search-info-section
     #file_table

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/hdfs/_info.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/hdfs/_info.html.haml b/contrib/blur-console/blur-admin/app/views/hdfs/_info.html.haml
index 1e70ab3..b7781ba 100644
--- a/contrib/blur-console/blur-admin/app/views/hdfs/_info.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/hdfs/_info.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 .info-modal
   .search-info-section
     %table#more-info-table.table.table-striped.table-condensed

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/hdfs/_upload.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/hdfs/_upload.html.haml b/contrib/blur-console/blur-admin/app/views/hdfs/_upload.html.haml
index 44d1757..9dcd8ce 100644
--- a/contrib/blur-console/blur-admin/app/views/hdfs/_upload.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/hdfs/_upload.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 -if not defined? @error
   :javascript
     parent.window.finishUploading('#{@path}');

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/hdfs/_upload_form.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/hdfs/_upload_form.html.haml b/contrib/blur-console/blur-admin/app/views/hdfs/_upload_form.html.haml
index 2cccf77..c6b3694 100644
--- a/contrib/blur-console/blur-admin/app/views/hdfs/_upload_form.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/hdfs/_upload_form.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 #upload-file
   #status
   = form_tag upload_hdfs_path, :method => 'post', :multipart => true, :target => 'upload_frame', :id => 'upload-form' do

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/hdfs/index.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/hdfs/index.html.haml b/contrib/blur-console/blur-admin/app/views/hdfs/index.html.haml
index 8070148..eb817b7 100644
--- a/contrib/blur-console/blur-admin/app/views/hdfs/index.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/hdfs/index.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - content_for :title, 'HDFS'
 - content_for :javascript do
   =javascript_include_tag 'hdfs'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/hdfs_metrics/_hdfs_graph.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/hdfs_metrics/_hdfs_graph.html.haml b/contrib/blur-console/blur-admin/app/views/hdfs_metrics/_hdfs_graph.html.haml
index f47ce61..56ca86a 100644
--- a/contrib/blur-console/blur-admin/app/views/hdfs_metrics/_hdfs_graph.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/hdfs_metrics/_hdfs_graph.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 .graph_instance{:id => hdfs_instance.id}
   .graph_title
     %img.hidden{:class => "loading-spinner",

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/hdfs_metrics/_hdfs_joined_graph.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/hdfs_metrics/_hdfs_joined_graph.html.haml b/contrib/blur-console/blur-admin/app/views/hdfs_metrics/_hdfs_joined_graph.html.haml
index cc0e3ca..4a152d0 100644
--- a/contrib/blur-console/blur-admin/app/views/hdfs_metrics/_hdfs_joined_graph.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/hdfs_metrics/_hdfs_joined_graph.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 .joined_instance{:id => 'joinedGraph'}
   .graph_title
     %h3

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/hdfs_metrics/index.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/hdfs_metrics/index.html.haml b/contrib/blur-console/blur-admin/app/views/hdfs_metrics/index.html.haml
index 2fc9609..7302eb1 100644
--- a/contrib/blur-console/blur-admin/app/views/hdfs_metrics/index.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/hdfs_metrics/index.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - content_for :title, 'HDFS Metrics'
 - content_for :javascript do
   =javascript_include_tag 'hdfs_metrics'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/layouts/_help_menu.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/layouts/_help_menu.html.haml b/contrib/blur-console/blur-admin/app/views/layouts/_help_menu.html.haml
index 0ff651a..0a494e3 100644
--- a/contrib/blur-console/blur-admin/app/views/layouts/_help_menu.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/layouts/_help_menu.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 = stylesheet_link_tag 'application'
 = javascript_include_tag 'help'
 %title

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/layouts/application.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/layouts/application.html.haml b/contrib/blur-console/blur-admin/app/views/layouts/application.html.haml
index d78b0c8..42a41f2 100644
--- a/contrib/blur-console/blur-admin/app/views/layouts/application.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/layouts/application.html.haml
@@ -1,84 +1,102 @@
+-#
+  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.
+
 !!!5
 %html
-	%head
-		= csrf_meta_tag
-		:javascript
-			var CurrentZookeeper = #{session[:current_zookeeper_id] || 'null'};
-		= javascript_include_tag 'application', 'routes'
-		= yield(:javascript)
-		= stylesheet_link_tag 'application', :media => "all" 
-		- if session[:current_zookeeper_id].blank? && @zookeepers
-			:javascript
-				var Zookeeper = {};
-				Zookeeper.instances = #{@zookeepers.collect{|z| {:id=>z.id, :name=>z.name}}.to_json}
-		%title
-			= yield(:title)
-			| Blur Console
-		%link{:rel => "icon", :type => "image/png", :href => "/assets/favicon.png"}
-	%body
-		#root
-			- if @current_user
-				.navbar
-					%a.brand{:href => '/'}
-						= image_tag('blur_logo.png')
-					.navbar-inner
-						%ul.nav.pull-left
-							- controller = params[:controller]
-							- action = params[:action]
-							%li{:class => controller == 'zookeepers' && action == 'index' && 'active'}
-								= link_to 'Dashboard', root_path
-							%li{:class => controller == 'zookeepers' && action == 'show' && 'active'}
-								= link_to 'Environment Status', stateful_nav_url('environment'), :id => 'env_link'
-							%li{:class => controller == 'blur_tables' && 'active'}
-								= link_to 'Blur Tables', stateful_nav_url('blur_table'), :id => 'tables_link', 'data-url-extension' => '/blur_tables'
-							%li{:class => controller == 'blur_queries' && 'active'}
-								= link_to 'Blur Queries', stateful_nav_url('blur_query'), :id => 'queries_link', 'data-url-extension' => '/blur_queries'
-							- if can? :show, :searches
-								%li{:class => controller == 'searches' && 'active'}
-									= link_to 'Search', stateful_nav_url('search'), :id => 'search_link', 'data-url-extension' => '/searches'
-							%li.dropdown{:class => (controller == 'hdfs' || controller == 'hdfs_metrics') && 'active'}
-								%a.dropdown-toggle{:href=>'#', :data=>{:toggle=>'dropdown'}}
-									HDFS
-									%b.caret
-								%ul.dropdown-menu
-									%li{:class => controller == 'hdfs' && 'active'}
-										= link_to 'HDFS File Browser', hdfs_index_path
-									%li{:class => controller == 'hdfs_metrics' && 'active'}
-										= link_to 'HDFS Metrics', hdfs_metrics_path
-							- if can? :index, :audits
-								%li{:class => controller == 'audits' && action == 'index' && 'active'}
-									= link_to 'Audits', audits_path
-							- if can? :index, :users
-								%li{:class => controller == 'users' && action == 'index' && 'active'}
-									= link_to 'Admin', users_path
+  %head
+    = csrf_meta_tag
+    :javascript
+      var CurrentZookeeper = #{session[:current_zookeeper_id] || 'null'};
+    = javascript_include_tag 'application', 'routes'
+    = yield(:javascript)
+    = stylesheet_link_tag 'application', :media => "all" 
+    - if session[:current_zookeeper_id].blank? && @zookeepers
+      :javascript
+        var Zookeeper = {};
+        Zookeeper.instances = #{@zookeepers.collect{|z| {:id=>z.id, :name=>z.name}}.to_json}
+    %title
+      = yield(:title)
+      | Blur Console
+    %link{:rel => "icon", :type => "image/png", :href => "/assets/favicon.png"}
+  %body
+    #root
+      - if @current_user
+        .navbar
+          %a.brand{:href => '/'}
+            = image_tag('blur_logo.png')
+          .navbar-inner
+            %ul.nav.pull-left
+              - controller = params[:controller]
+              - action = params[:action]
+              %li{:class => controller == 'zookeepers' && action == 'index' && 'active'}
+                = link_to 'Dashboard', root_path
+              %li{:class => controller == 'zookeepers' && action == 'show' && 'active'}
+                = link_to 'Environment Status', stateful_nav_url('environment'), :id => 'env_link'
+              %li{:class => controller == 'blur_tables' && 'active'}
+                = link_to 'Blur Tables', stateful_nav_url('blur_table'), :id => 'tables_link', 'data-url-extension' => '/blur_tables'
+              %li{:class => controller == 'blur_queries' && 'active'}
+                = link_to 'Blur Queries', stateful_nav_url('blur_query'), :id => 'queries_link', 'data-url-extension' => '/blur_queries'
+              - if can? :show, :searches
+                %li{:class => controller == 'searches' && 'active'}
+                  = link_to 'Search', stateful_nav_url('search'), :id => 'search_link', 'data-url-extension' => '/searches'
+              %li.dropdown{:class => (controller == 'hdfs' || controller == 'hdfs_metrics') && 'active'}
+                %a.dropdown-toggle{:href=>'#', :data=>{:toggle=>'dropdown'}}
+                  HDFS
+                  %b.caret
+                %ul.dropdown-menu
+                  %li{:class => controller == 'hdfs' && 'active'}
+                    = link_to 'HDFS File Browser', hdfs_index_path
+                  %li{:class => controller == 'hdfs_metrics' && 'active'}
+                    = link_to 'HDFS Metrics', hdfs_metrics_path
+              - if can? :index, :audits
+                %li{:class => controller == 'audits' && action == 'index' && 'active'}
+                  = link_to 'Audits', audits_path
+              - if can? :index, :users
+                %li{:class => controller == 'users' && action == 'index' && 'active'}
+                  = link_to 'Admin', users_path
 							
-						%ul.nav.pull-right
-							- if @zookeepers && @zookeepers.length > 1
-								%li
-									#zookeeper_select
-										-blank = @current_zookeeper.nil? && session[:current_zookeeper_id].nil?
-										= select('zookeeper', 'id', @zookeepers.collect{|zk| [zk.name, zk.id]}, {:id => 'zookeeper_id', :include_blank => blank, :selected => session[:current_zookeeper_id]})
-								%li.divider-vertical
-							%li{:class => controller == 'users' && action == 'show' && 'active'}
-								= link_to "Account", @current_user
-							- if session[:proof].blank?
-								%li= link_to "Log Out", logout_path
-			#bd.container-fluid
-				= yield
+            %ul.nav.pull-right
+              - if @zookeepers && @zookeepers.length > 1
+                %li
+                  #zookeeper_select
+                    -blank = @current_zookeeper.nil? && session[:current_zookeeper_id].nil?
+                    = select('zookeeper', 'id', @zookeepers.collect{|zk| [zk.name, zk.id]}, {:id => 'zookeeper_id', :include_blank => blank, :selected => session[:current_zookeeper_id]})
+                %li.divider-vertical
+              %li{:class => controller == 'users' && action == 'show' && 'active'}
+                = link_to "Account", @current_user
+              - if session[:proof].blank?
+                %li= link_to "Log Out", logout_path
+      #bd.container-fluid
+        = yield
 
-	- if flash
-		#flash
-			- flash.each do |type, message|
-				-if type == :notice
-					.alert.alert-success{:class=>type}= message
-				-elsif type == :error
-					.alert.alert-error{:class=>type}= message
-				-else
-					.alert.alert-info{:class=>type}= message
-	#ft
-		#company-info
-			%p
-				- if !@current_user.nil?
-					%a#page-help{:href => ''} Help
-				| Version 1.4.2
+  - if flash
+    #flash
+      - flash.each do |type, message|
+        -if type == :notice
+          .alert.alert-success{:class=>type}= message
+        -elsif type == :error
+          .alert.alert-error{:class=>type}= message
+        -else
+          .alert.alert-info{:class=>type}= message
+  #ft
+    #company-info
+      %p
+        - if !@current_user.nil?
+          %a#page-help{:href => ''} Help
+        | Version 1.4.2
 #help-menu{:style => 'display: none', "data-controller" => params[:controller], "data-action" => params[:action]}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/searches/_saved.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/searches/_saved.html.haml b/contrib/blur-console/blur-admin/app/views/searches/_saved.html.haml
index f54e730..398641f 100644
--- a/contrib/blur-console/blur-admin/app/views/searches/_saved.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/searches/_saved.html.haml
@@ -1,15 +1,33 @@
+-#
+  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.
+
 #searches.partial-section
-	-if @searches.length != 0
-		-@searches.each do |search|
-			.search_element{:id => search.id}
-				.search-name{:title => search.name}
-					=search.name
-				.search-buttons
-					%a.btn#edit_icon{ :title => "Edit Query" }
-						%i.icon-pencil
-					%a.btn#delete_icon{ :title => "Delete Query" }
-						%i.icon-remove
-				.clearfix
+  -if @searches.length != 0
+    -@searches.each do |search|
+      .search_element{:id => search.id}
+        .search-name{:title => search.name}
+          =search.name
+        .search-buttons
+          %a.btn#edit_icon{ :title => "Edit Query" }
+            %i.icon-pencil
+          %a.btn#delete_icon{ :title => "Delete Query" }
+            %i.icon-remove
+        .clearfix
 
-	-else
-		%div You do not have any saved searches.
+  -else
+    %div You do not have any saved searches.

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/searches/create.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/searches/create.html.haml b/contrib/blur-console/blur-admin/app/views/searches/create.html.haml
index 52b5ae8..c9e0f33 100644
--- a/contrib/blur-console/blur-admin/app/views/searches/create.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/searches/create.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - if @results and not @results.empty?
   #results_info
     = "#{@result_count} results found"

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/searches/index.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/searches/index.html.haml b/contrib/blur-console/blur-admin/app/views/searches/index.html.haml
index 493cd33..9695be5 100644
--- a/contrib/blur-console/blur-admin/app/views/searches/index.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/searches/index.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 -content_for :title, 'Search'
 -content_for :javascript do
   =javascript_include_tag 'search'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/shared/_icons.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/shared/_icons.html.haml b/contrib/blur-console/blur-admin/app/views/shared/_icons.html.haml
index c2142b6..93ba793 100644
--- a/contrib/blur-console/blur-admin/app/views/shared/_icons.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/shared/_icons.html.haml
@@ -1,2 +1,20 @@
+-#
+  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.
+
 %i.icon-chevron-up
 %i.icon-chevron-down
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/user_sessions/_form.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/user_sessions/_form.html.haml b/contrib/blur-console/blur-admin/app/views/user_sessions/_form.html.haml
index d36528f..0fe000d 100644
--- a/contrib/blur-console/blur-admin/app/views/user_sessions/_form.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/user_sessions/_form.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 = twitter_bootstrap_form_for user_session, :html => {:class => 'well'} do |f|
   -if user_session.errors.any?
     #error_explanation

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/user_sessions/new.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/user_sessions/new.html.haml b/contrib/blur-console/blur-admin/app/views/user_sessions/new.html.haml
index b00a403..4b31553 100644
--- a/contrib/blur-console/blur-admin/app/views/user_sessions/new.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/user_sessions/new.html.haml
@@ -1,4 +1,22 @@
+-#
+  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.
+
 - content_for :title, 'Log In'
 #login_wrapper
-	= link_to image_tag('blur_logo.png'), root_path
-	= render 'form', :user_session => @user_session
\ No newline at end of file
+  = link_to image_tag('blur_logo.png'), root_path
+  = render 'form', :user_session => @user_session
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/users/_form.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/users/_form.html.haml b/contrib/blur-console/blur-admin/app/views/users/_form.html.haml
index b2cd362..9ed12c1 100644
--- a/contrib/blur-console/blur-admin/app/views/users/_form.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/users/_form.html.haml
@@ -1,34 +1,52 @@
+-#
+  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.
+
 = twitter_bootstrap_form_for user do |f|
-	-if user.errors.any?
-		#error_explanation
-			%h4= "#{pluralize(user.errors.count, 'error')} prohibited new user from being saved"
-			%ul
-				- user.errors.full_messages.each do |msg|
-					%li= msg
-	%label= "Account Information"
-	- fields = {:username					=> :text_field,
-			:name											=> :text_field,
-			:email										=> :email_field,
-			:password									=> :password_field,
-			:password_confirmation 		=> :password_field}
-	- fields.each_pair do |field_name, field_type|
-		- if (!user.new_record? and can? :update, user, field_name)	or ( user.new_record? and can? :create, user, field_name)
-			= f.send field_type, field_name, false, :placeholder => field_name.to_s.humanize
-		- elsif user[field_name]
-			%strong= "#{field_name}: "
-			= user[field_name]
-	- if (current_user && current_user.is?(:admin))
-		= f.toggles 'Roles' do
-			- User::ROLES.each do |role|
-				%li
-					- if role == "admin" && current_user == user
-						= check_box_tag "user[roles][]", role, user.is?(role), :id => 'user_role_' + role, :style => 'display:none'
-					- else
-						= check_box_tag "user[roles][]", role, user.is?(role), :id => 'user_role_' + role
-					%span
-						= role.to_s.humanize
-	- if current_user
-		= f.submit 'Save', :class => 'btn btn-primary'
-	- else
-		= f.submit 'Register', :class => 'btn btn-primary'
-	= link_to 'Cancel', cancel_path, :class => 'btn'
+  -if user.errors.any?
+    #error_explanation
+      %h4= "#{pluralize(user.errors.count, 'error')} prohibited new user from being saved"
+      %ul
+        - user.errors.full_messages.each do |msg|
+          %li= msg
+  %label= "Account Information"
+  - fields = {:username					=> :text_field,
+      :name											=> :text_field,
+      :email										=> :email_field,
+      :password									=> :password_field,
+      :password_confirmation 		=> :password_field}
+  - fields.each_pair do |field_name, field_type|
+    - if (!user.new_record? and can? :update, user, field_name)	or ( user.new_record? and can? :create, user, field_name)
+      = f.send field_type, field_name, false, :placeholder => field_name.to_s.humanize
+    - elsif user[field_name]
+      %strong= "#{field_name}: "
+      = user[field_name]
+  - if (current_user && current_user.is?(:admin))
+    = f.toggles 'Roles' do
+      - User::ROLES.each do |role|
+        %li
+          - if role == "admin" && current_user == user
+            = check_box_tag "user[roles][]", role, user.is?(role), :id => 'user_role_' + role, :style => 'display:none'
+          - else
+            = check_box_tag "user[roles][]", role, user.is?(role), :id => 'user_role_' + role
+          %span
+            = role.to_s.humanize
+  - if current_user
+    = f.submit 'Save', :class => 'btn btn-primary'
+  - else
+    = f.submit 'Register', :class => 'btn btn-primary'
+  = link_to 'Cancel', cancel_path, :class => 'btn'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/users/edit.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/users/edit.html.haml b/contrib/blur-console/blur-admin/app/views/users/edit.html.haml
index b238170..51ecf84 100644
--- a/contrib/blur-console/blur-admin/app/views/users/edit.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/users/edit.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - content_for :title, 'Edit User'
 
 #edit_user_wrapper

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/users/index.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/users/index.html.haml b/contrib/blur-console/blur-admin/app/views/users/index.html.haml
index 302f466..e00e087 100644
--- a/contrib/blur-console/blur-admin/app/views/users/index.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/users/index.html.haml
@@ -1,33 +1,51 @@
+-#
+  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.
+
 - content_for :title, 'Users'
 - content_for :javascript do
-	=javascript_include_tag 'admin'
+  =javascript_include_tag 'admin'
 
 #admin_wrapper
-	%h2 Users
-	#users_table_wrapper
-		%table.table.table-bordered.table-striped{:id => 'users_table'}
-			%tr
-				%th Username
-				%th Name
-				%th Email
-				%th Roles
-				%th Actions
-			- for user in @users
-				%tr
-					%td= user.username
-					%td= user.name
-					%td= user.email
-					%td= user.roles.to_a.join ', '
-					%td
-						=link_to raw('<i class="icon-pencil"></i> Edit'), edit_user_path(user), :class => 'btn'
-						- if current_user != user
-							= link_to raw('<i class="icon-trash icon-white"></i> Delete'), user, :confirm => 'Are you sure?', :method => :delete, :class => 'btn btn-danger'
-	%p= link_to raw('<i class="icon-user"></i> New User'), new_user_path, :class => 'btn'
+  %h2 Users
+  #users_table_wrapper
+    %table.table.table-bordered.table-striped{:id => 'users_table'}
+      %tr
+        %th Username
+        %th Name
+        %th Email
+        %th Roles
+        %th Actions
+      - for user in @users
+        %tr
+          %td= user.username
+          %td= user.name
+          %td= user.email
+          %td= user.roles.to_a.join ', '
+          %td
+            =link_to raw('<i class="icon-pencil"></i> Edit'), edit_user_path(user), :class => 'btn'
+            - if current_user != user
+              = link_to raw('<i class="icon-trash icon-white"></i> Delete'), user, :confirm => 'Are you sure?', :method => :delete, :class => 'btn btn-danger'
+  %p= link_to raw('<i class="icon-user"></i> New User'), new_user_path, :class => 'btn'
 
-	%h2.filter-header Star Query Table Filter
-	%p.clarification (Whitelist Regex for allowing '*' queries)
-	= form_tag("/admin_settings/#{@search_filter.id}.html", :method => "put", :remote => true, :class => 'table-filter') do
-		= hidden_field_tag(:setting, 'regex_filter')
-		.control-group
-			= text_field_tag(:value, @search_filter.value)
-			= submit_tag("Save", :class => 'btn')
+  %h2.filter-header Star Query Table Filter
+  %p.clarification (Whitelist Regex for allowing '*' queries)
+  = form_tag("/admin_settings/#{@search_filter.id}.html", :method => "put", :remote => true, :class => 'table-filter') do
+    = hidden_field_tag(:setting, 'regex_filter')
+    .control-group
+      = text_field_tag(:value, @search_filter.value)
+      = submit_tag("Save", :class => 'btn')

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/users/new.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/users/new.html.haml b/contrib/blur-console/blur-admin/app/views/users/new.html.haml
index 7e8fdf8..89f7bd1 100644
--- a/contrib/blur-console/blur-admin/app/views/users/new.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/users/new.html.haml
@@ -1,12 +1,30 @@
+-#
+  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.
+
 - content_for :title, 'New User'
 
 - if current_user
-	#new_user_wrapper
-		%h2 New User
-		= render 'form', :user => @user, :cancel_path => users_path
+  #new_user_wrapper
+    %h2 New User
+    = render 'form', :user => @user, :cancel_path => users_path
 - else
-	#login_wrapper
-		= link_to image_tag('blur_logo.png'), root_path
-		#new_user_wrapper.well
-			%h2 Register
-			= render 'form', :user => @user, :cancel_path => login_path
+  #login_wrapper
+    = link_to image_tag('blur_logo.png'), root_path
+    #new_user_wrapper.well
+      %h2 Register
+      = render 'form', :user => @user, :cancel_path => login_path

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/users/show.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/users/show.html.haml b/contrib/blur-console/blur-admin/app/views/users/show.html.haml
index b738c15..3b60110 100644
--- a/contrib/blur-console/blur-admin/app/views/users/show.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/users/show.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - content_for :title, 'User'
 - content_for :javascript do
   =javascript_include_tag 'users'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/zookeepers/_hdfs_stat.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/zookeepers/_hdfs_stat.html.haml b/contrib/blur-console/blur-admin/app/views/zookeepers/_hdfs_stat.html.haml
index 5e1fd43..165fdae 100644
--- a/contrib/blur-console/blur-admin/app/views/zookeepers/_hdfs_stat.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/zookeepers/_hdfs_stat.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 .hdfs_info
   %table.hdfs_table{:id => "#{hdfs.id}"}
     %thead

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/zookeepers/_zookeeper.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/zookeepers/_zookeeper.html.haml b/contrib/blur-console/blur-admin/app/views/zookeepers/_zookeeper.html.haml
index 19747a7..28e1b2d 100644
--- a/contrib/blur-console/blur-admin/app/views/zookeepers/_zookeeper.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/zookeepers/_zookeeper.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 .zookeeper_info
   %table.zookeeper_table{:id => "#{zookeeper.id}"}
     %thead

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/zookeepers/index.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/zookeepers/index.html.haml b/contrib/blur-console/blur-admin/app/views/zookeepers/index.html.haml
index 5292f4b..a816dea 100644
--- a/contrib/blur-console/blur-admin/app/views/zookeepers/index.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/zookeepers/index.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - content_for :title, 'Blur Status'
 - content_for :javascript do
   = javascript_include_tag 'dashboard/dashboard'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/app/views/zookeepers/show.html.haml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/app/views/zookeepers/show.html.haml b/contrib/blur-console/blur-admin/app/views/zookeepers/show.html.haml
index 929ac23..196709b 100644
--- a/contrib/blur-console/blur-admin/app/views/zookeepers/show.html.haml
+++ b/contrib/blur-console/blur-admin/app/views/zookeepers/show.html.haml
@@ -1,3 +1,21 @@
+-#
+  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.
+
 - content_for :title, 'Environment Status'
 - content_for :javascript do
   = javascript_include_tag 'environment/environment'

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/config.ru
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config.ru b/contrib/blur-console/blur-admin/config.ru
index f9b1711..2f934ea 100644
--- a/contrib/blur-console/blur-admin/config.ru
+++ b/contrib/blur-console/blur-admin/config.ru
@@ -1,3 +1,21 @@
+#  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 is used by Rack-based servers to start the application.
 
 require ::File.expand_path('../config/environment',  __FILE__)

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/config/database.yml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/database.yml b/contrib/blur-console/blur-admin/config/database.yml
index ef9471a..bcf87f4 100644
--- a/contrib/blur-console/blur-admin/config/database.yml
+++ b/contrib/blur-console/blur-admin/config/database.yml
@@ -1,25 +1,20 @@
-<% if ENV['BAMBOO'] == 'true' %>
-
-development:
-  adapter: mysql2
-  encoding: utf8
-  database: blurtools_development
-  host: nic-mysqldev01
-  pool: 5
-  username: blurtools_bamboo
-  password: blurtools_bamboo
-
-test:
-  adapter: mysql2
-  encoding: utf8
-  database: blurtools_test
-  host: nic-mysqldev01
-  pool: 5
-  username: blurtools_bamboo
-  password: blurtools_bamboo
-
-<% else %>
-
+#  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.
+  
 development:
   adapter: mysql2
   encoding: utf8
@@ -45,5 +40,4 @@ production:
   host: localhost
   pool: 5
   username: root
-  password: 
-<% end %>
+  password: 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/47a0ee48/contrib/blur-console/blur-admin/config/locales/en.yml
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-admin/config/locales/en.yml b/contrib/blur-console/blur-admin/config/locales/en.yml
index 179c14c..f93983f 100644
--- a/contrib/blur-console/blur-admin/config/locales/en.yml
+++ b/contrib/blur-console/blur-admin/config/locales/en.yml
@@ -1,3 +1,21 @@
+#  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.
+
+
 # Sample localization file for English. Add more files in this directory for other locales.
 # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
 


Mime
View raw message