incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [26/29] Removing the legacy version of blur console.
Date Fri, 27 Jun 2014 13:26:09 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/base.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/base.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/base.scss
deleted file mode 100644
index d46fb06..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/base.scss
+++ /dev/null
@@ -1,191 +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.
- */
-$base-theme-color: #f6a828;
-
-$red-state-color: #B81900;
-$red-border-color: #CD0A0A;
-$green-border-color: #62A630;
-
-$table-hd-color: #E4EDFF;
-$table-hd-text: #667495;
-
-$grey-color: #EEEEEE;
-$grey-div-color: #F0F0F0;
-
-$row-hover: #FFE4A3;
-
-$font-color: #555;
-$border_color: #999;
-$zk-header-color: #93A7AC;
-
-$border_width: 1px;
-$border_style: solid;
-
-$twitter-border: 1px solid #ccc;
-
-$blue-dashboard-color: #93A7AC;
-$faded-blue-dashboard-color: #CED7DA;
-$green-dashboard-color:  #7DC77D;
-$blue-chart-dashboard-color: #AFD8F8;
-$red-dashboard-color: #FF1919;
-$yellow-dashboard-color: #EDC240;
-
-// Page settings
-$footer-height: 45px;
-
-html{
-  height: 100%;
-  //min-height: 400px;
-	min-width: 1240px;
-  overflow: auto;
-  body{
-    position: relative;
-    padding-bottom: $footer-height;
-  }
-}
-h2{
-    color:$blue-dashboard-color;
-}
-#modal{
-	max-height:500px;
-	overflow:none;
-	.modal-body{
-		max-height:440px;
-		overflow-y:auto;
-		margin-bottom:60px;
-	}
-	.modal-footer{
-		position:absolute;
-		bottom:0px;
-		width: 530px;
-	}
-}
-
-input[placeholder].placeholder{
-	color: #888 !important;
-}
-
-#login_wrapper{
-	#error_explanation{
-		ul{
-			list-style: none;
-			color:red;
-		}
-	}
-
-	.help-inline{
-		color: red;
-		padding: 0px;
-		margin: 5px;
-	}
-
-	input:not(.btn){
-		display:block;
-		margin:auto;
-	}
-}
-
-.dynatree-connector ~ .dynatree-title{
-	cursor: default;
-}
-
-// Tree overrides
-ul.dynatree-container {
-	background-color: inherit !important;
-	color: inherit !important;
-	border: none !important;
-	a:focus, span.dynatree-focused a:link {
-		background-color: inherit !important;
-	}
-	li {
-	  line-height: 16px;
-		a:focus {
-			outline: none !important;
-		}
-		a {
-			background-color: inherit !important;
-			color: inherit !important;
-		}
-		border: none !important
-	}
-}
-.modal-list{
-  &.no-well{ background-color: white; }
-  list-style-type:none;
-  max-height:400px;
-  overflow: auto;
-  padding: 5px;
-  background-color: whitesmoke;
-  li{
-    &.error div{
-      background-color: rgba(218, 79, 73, .8);
-      color: white;
-      border-color: #DA4F49;
-      &.icon:hover{
-        background-color: rgba(218, 79, 73, .6);
-      }
-    }
-
-    &.no-error div{
-      //background-color: rgba(91, 183, 91, .9);
-      //color: white;
-      //border-color: #5BB75B;
-      &.icon:hover{
-        //background-color: rgba(91, 183, 91, .7);
-      }
-    }
-
-    &:not(:last-child){
-      padding-bottom: 3px;
-    }
-    height: 30px;
-    div{
-      border: solid 1px #CCC;
-    }
-    .icon ~ .info{
-      @include border-radius-left(0px);
-    }
-    .info{
-      background-color: white;
-      padding: 5px;
-      @include border-radius;
-      overflow-x: hidden;
-      text-overflow: ellipsis;
-      white-space: nowrap;
-    }
-    .icon{
-      float: left;
-      display: inline-block;
-      @include border-radius-left;
-      @include clearfix;
-      background-color: whitesmoke;
-      border-right: none;
-      cursor: pointer;
-      vertical-align: top;
-      &:hover{
-        background-color: #999;
-        border-color: #999;
-      }
-      & > i {
-        margin: 6px;
-        margin-bottom: 7px;
-        background-color: transparent;
-      }
-    }
-  }
-}
-.hidden{ display: none !important; }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/blur_queries.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/blur_queries.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/blur_queries.scss
deleted file mode 100644
index d5ed871..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/blur_queries.scss
+++ /dev/null
@@ -1,141 +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.
- */
-#queries-table_wrapper > .row:first-child > div:last-child {
-  float: right;
-}
-
-#blur_queries_wrapper {
-  padding-top: 2em;
-  padding-bottom: 2em;
-  @include standard-font;
-  @include clearfix;
-  .dataTables_filter{
-    width: 100%;
-    float: right;
-    input{
-      width: 96%;
-    }
-  }
-
-  .span2{
-    position: relative;
-    right:200px;
-    top:35px;
-  }
-  .span4{
-    position: relative;
-    left: 100px;
-    .dataTables_info{
-      text-align: center;
-    }
-  }
-  .dataTables_info {
-    padding-top: 8px;
-  }
-  .row > *:first-child {
-    vertical-align: top;
-    padding-top: 15px;
-  }
-  .range_select{
-    select{
-      width: 100px;
-    }
-  }
-  .dataTables_processing {
-    padding-top: 8px;
-  }
-  #queries-table{
-    table-layout:relative;
-    font-weight: normal;
-    td{
-      vertical-align: middle;
-      word-wrap: break-word
-    }
-    .cancel_query_button{
-      margin: 0;
-    }
-
-    form.cancel {
-      display: inline-block;
-      @include ie7-inline-block;
-      margin-right: 3px;
-      margin-bottom: 0;
-    }
-    tbody tr:not(.oldRunning){
-      & + .oldRunning, .oldRunning:first-child{
-        td{
-          border-top: 1px solid #FF0000;
-        }
-      }
-      height: 45px;
-    }
-    .oldRunning{
-      td{
-        background: rgba(247, 225, 225, 0.8);
-        border-bottom: 1px solid #FF0000;
-      }
-    }
-    th{
-      cursor: pointer;
-      margin-right: 10px;
-      .header_content {
-        position: relative;
-        div {
-          display: inline-block;
-          margin-right: 10px;
-        }
-      }
-
-      &.headerSortDown{
-        .icon-chevron-up{
-          display: none;
-        }
-        .icon-chevron-down{
-          display: block;
-        }
-      }
-
-      &.headerSortUp{
-        .icon-chevron-up{
-          display: block;
-        }
-        .icon-chevron-down{
-          display: none;
-        }
-      }
-
-      i{
-        position:absolute;
-        display: none;
-        &.icon-chevron-up{
-          top: 5px;
-          right: 10px;
-        }
-
-        &.icon-chevron-down{
-          bottom: 5px;
-          right: 10px;
-        }
-      }
-    }
-  }
-}
-
-#more-info-table {
-  td { color: #555; }
-  .more-info-label { white-space: nowrap; font-weight: bold;}
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/blur_tables.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/blur_tables.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/blur_tables.scss
deleted file mode 100644
index c298744..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/blur_tables.scss
+++ /dev/null
@@ -1,108 +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.
- */
-#blur_tables {
-  width: 99%;
-  border: none;
-  margin: 15px 10px 0;
-  table { margin-bottom: 5px; }
-  .active a, .active a:hover{ background-color:#F9F9F9; }
-}
-#tables-wrapper{
-  border: $twitter-border;
-  padding:10px;
-  @include border-radius(5px);
-}
-
-.cluster-tabs{
-  margin:15px 0;
-  .active a, .active a:hover{ background-color:#F9F9F9; }
-}
-.bulk-action-selector{ margin: 10px 5px 10px 0px; }
-tr.highlighted-row td{ background:#FAD08A !important; }
-.live-col{
-  color: $green-border-color ! important;
-}
-.disabled-col{
-  color: $red-border-color ! important;
-}
-.popover-close{
-  position:absolute;
-  top:15px;
-  right:15px;
-  &:hover{
-    cursor: pointer;
-    background-color:#CCC;
-    border-radius:3px;
-  }
-}
-.terms{
-  color:#08C;
-  text-decoration:none;
-  cursor:pointer;
-  &:hover{
-    color:#048;
-    text-decoration:underline;
-  }
-}
-.reset-term-search{
-  display:none;
-}
-
-.terms-list{
-  list-style-type:none;
-  max-height:400px;
-  overflow-y:auto;
-  padding:5px;
-  padding-bottom: 0px;
-  .uneditable-input{
-    margin-bottom: 0px;
-  }
-}
-.search-term-link{
-  cursor:pointer;
-  &:hover{
-    background-color:#CCC;
-  }
-}
-.term-input{
-  cursor:default;
-  & > span{
-    cursor:text;
-    padding-left:10px;
-  }
-}
-.more-terms{
-  margin-top:10px;
-}
-.table .checkbox-td{
-  width:20px;
-  text-align: center;
-}
-
-.popover{
-  #loading-spinner{
-    padding: 5px;
-  }
-}
-.comment_row{
-  width: 250px;
-}
-.blur_table_row_count{
-  width:150px;
-}
-
-th:not(.sorttable_nosort) { cursor: pointer; }

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/bootstrap_addons.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/bootstrap_addons.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/bootstrap_addons.scss
deleted file mode 100644
index fe08484..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/bootstrap_addons.scss
+++ /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.
- */
-input[type="text"],input[type="email"],input[type="password"],textarea,select{color:#000 !important;}
-
-table {
-  margin: 1em 0;
-  clear: both;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/dashboard.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/dashboard.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/dashboard.scss
deleted file mode 100644
index 5e4df1c..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/dashboard.scss
+++ /dev/null
@@ -1,177 +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.
- */
-@mixin box-title {
-  position:absolute;
-  display:block;
-  top:-18px;
-  left:20px;
-  background:#fff;
-}
-
-@mixin zoo-widget {
-  border-top:$twitter-border;
-  padding-top:20px;
-  position:relative;
-}
-
-@mixin zoo-status {
-	text-align: center;
-  display: inline-block;
-  padding:1px 15px 1px;
-  margin: 2px 0 2px;
-  &.important{font-style:italic;}
-}
-
-#zookeepers_wrapper, #hdfs_dash_wrapper {
-  @include standard-font;
-  @include zoo-widget;
-  margin-top: 2em;
-
-  .zookeeper_info, .hdfs_info {
-    width: 450px;
-    margin: 0px 10px 20px 20px;
-    display: inline-block;
-    border: 1px solid;
-    font-size: 15px;
-    border-color: $blue-dashboard-color;
-    @include border-radius(5px);
-
-    table{ margin:0; width:100%; }
-    table tbody th { text-align:center; vertical-align:middle; }
-    .status-bar{ @include border-radius() }
-
-    &:hover{
-      cursor: pointer;
-      background: #F4F5F6;
-    }
-  }
-
-  .zookeeper-title, .hdfs-title {
-    font-size: 130%;
-    padding: 5px 10px;
-    text-align: left;
-		@include border-radius-bottom(0);
-    img {
-      height: 18px;
-    }
-  }
-
-	.hdfs-body {
-		min-height: 177px;
-	}
-
-  .zookeeper-body, .hdfs-body {
-    width: 430px;
-    margin: 10px;
-
-    td {text-align: center;}
-    h6{ color: $font-color; }
-
-    .zookeeper-cont-info, .zookeeper-shard-info {
-      width: 65px;
-      vertical-align: middle;
-      .zk-shard-info { text-align: right; }
-      .zk-cont-info{ text-align: left; }
-    }
-
-    .hdfs-chart { margin: 0 0 10px 30px; }
-    .cont-chart, .shard-chart { margin-left: 5px; }
-
-    .query-warning {
-      color: $red-dashboard-color;
-      margin-top: 10px;
-    }
-
-    .chart-title-text {
-      margin-top: -136px;
-      z-index: 1;
-    }
-
-    .legend{
-      margin: -124px 0 0 77px;
-      z-index: 1;
-      h6{ float: left; }
-
-      .legend-box {
-        width: 12px;
-        height: 12px;
-        float: left;
-        margin: 2px 5px 0 0;
-        border: 1px solid $border_color;
-      }
-
-      .healthy{ background-color: $green-dashboard-color; }
-      .corrupt{ background-color: $blue-chart-dashboard-color; }
-      .missing{ background-color: $red-dashboard-color; }
-      .under-replicated{ background-color: $yellow-dashboard-color; }
-    }
-
-    .error-label{ color: $red-dashboard-color; }
-
-    .zk-chart{
-      $zk-size: 135px;
-      width: $zk-size;
-      line-height: $zk-size;
-      height: $zk-size;
-      position: relative;
-      text-align: center;
-    }
-
-    .hdfs-chart-container {
-      $hdfs-size: 175px;
-      width: $hdfs-size;
-      height: $hdfs-size;
-      position: relative;
-      text-align: center;
-    }
-
-    .hdfs-chart { margin-top: -50px }
-
-    .hdfs-bar-container {
-      width: 130px;
-      padding-right: 20px;
-    }
-  }
-
-  #zookeepers,#hdfses{ height: 100%; }
-	h2 { color: $zk-header-color; @include box-title;}
-
-  .progress-status{
-    background-image: none;
-    position: relative;
-    margin: 0px;
-    @include border-radius();
-    .bar{
-      @include border-radius();
-      background-image: none;
-    }
-  }
-  .red-bar { background-color: $red-dashboard-color; }
-  .faded-bar { background-color: $faded-blue-dashboard-color; }
-  .green-bar { background-color: $green-dashboard-color; }
-  .yellow-bar { background-color: $yellow-dashboard-color; }
-
-  span.title-subtle{
-    float: right;
-    opacity: .7;
-  }
-
-  .label{
-    background-color: $blue-dashboard-color;
-    width: 430px;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/errors.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/errors.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/errors.scss
deleted file mode 100644
index 4ea974b..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/errors.scss
+++ /dev/null
@@ -1,39 +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.
- */
-#error_wrapper{
-  h1 {
-    text-align:center;
-  }
-  h2 {
-    text-align:center;
-    color:black;
-  }
-  img {
-    display: block;
-    margin-left: auto;
-    margin-right: auto;
-  }
-  h3 {
-    text-align:center;
-    color:black;
-  }
-}
-#error_message {
-  display: block;
-  margin-left:auto;
-  margin-right:auto;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/hdfs.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/hdfs.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/hdfs.scss
deleted file mode 100644
index dddd175..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/hdfs.scss
+++ /dev/null
@@ -1,145 +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.
- */
-#newFolder {
-  text-align: center;
-  input {
-    width: 20em;
-  }
-}
-
-
-#hdfs_wrapper{
-  @include standard-font;
-  padding-bottom: 20px;
-  @include box-sizing(border-box);
-  height: 300px;
-
-  #hdfs_browser {
-    background-color: #F8F8F8;
-    @include border;
-    @include border-radius;
-    overflow-y: auto;
-    div.innerWindow {
-      @include border;
-      background-color: white;
-      .noFiles {
-        font-size: 1.2em;
-        font-style: italic;
-        text-align: center;
-      }
-      >ul>li {
-        &.file, &.folder, &.hdfs_instance {
-          a {
-            @include box-sizing(border-box);
-            display: block;
-            width: 225px;
-            overflow-x: hidden;
-            text-overflow: ellipsis;
-            white-space: nowrap;
-            padding-right: 20px;
-          }
-        }
-        &.folder, &.hdfs_instance {
-          background: url("expand_folder.png") no-repeat scroll right center transparent;
-        }
-        &.file a {
-          background: url("file16.png") no-repeat scroll left center transparent;
-          padding-left: 20px;
-        }
-        &.hdfs_instance a {
-          background: url("database16.png") no-repeat scroll left center transparent;
-          padding-left: 20px;
-        }
-        &.folder a {
-          background: url("folder16.png") no-repeat scroll left center transparent;
-          padding-left: 20px;
-        }
-        &:hover, &.rclicked{
-          border:  1px solid #B8D6FD;
-        }
-        &.osxSelected {
-          background-color:#3875D7;
-          border:  1px solid #3875D7;
-          a {
-            color: white;
-          }
-        }
-      }
-    }
-  }
-
-  #file_details_table {
-    tr:nth-child(even) { background-color: white; };
-    tr:nth-child(odd) { background-color: $grey-div-color; }
-    table { margin: 0; @include border;}
-    th {
-      background-color: $table-hd-color;
-      color: $table-hd-text;
-    }
-    th.name, td.name {text-align: left; }
-    th, td {
-      @include standard-font;
-      text-align: center;
-    }
-    tr:hover {
-      cursor: pointer;
-      background: $row-hover;
-    }
-  }
-
-  .to-cut {
-    a { color: #AAA; }
-  }
-}
-
-#modal{
-  max-height: 600px;
-  .search-info-section{
-    width: 49%;
-    display: inline-block;
-    vertical-align: top;
-    .radial-graph{
-      position: relative;
-      text-align: center;
-      height: 400px;
-      width: 100%;
-      path{
-        cursor: pointer;
-        &:hover{
-          opacity: .6;
-        }
-      }
-      .graphtip{
-        position: absolute;
-        display: block;
-        z-index: 50;
-        #tipcontent{
-          padding: 1px 6px 1px 6px;
-          border: 4px solid #e2e2e2;
-          max-width: 400px;
-          background: white;
-          color: black;
-          @include border-radius(5px);
-        }
-      }
-    }
-  }
-  .hidden{ display: none; }
-  #upload_file_warning{ color: red; font-weight: bold; }
-}
-
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/hdfs_metrics.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/hdfs_metrics.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/hdfs_metrics.scss
deleted file mode 100644
index eccb23f..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/hdfs_metrics.scss
+++ /dev/null
@@ -1,126 +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.
- */
-$title_height: 35px;
-$graph_height: 240px;
-$total_graph_height: $graph_height + 60px;
-$instance_height: $title_height + $total_graph_height;
-
-@mixin graph_component{
-	display: inline-block;
-	@include box-sizing(border-box);
-}
-
-@mixin clickable_title{
-	height: $title_height;
-	h3{ line-height: $title_height; }
-	text-align: center;
-	border: 1px solid #ccc;
-	@include gradient-vertical(#fff, #F4F4F4);
-}
-
-@mixin clickable{
-	cursor: pointer;
-	&:hover{
-		opacity: .6;
-	}
-}
-
-#metrics_page_wrapper {
-	.create_graph_prompt{
-		margin-top: 10px;
-		@include clickable_title;
-		@include clickable;
-	}
-	.joined_instance{
-		.graph_title{
-			position: relative;
-			i{
-				position: absolute;
-				top: 10px;
-				right: 10px;
-				@include clickable;
-			}
-		}
-	}
-
-	.graph_instance, .joined_instance {
-		margin: 10px 0 10px 0;
-		position: relative;
-		height: $instance_height;
-		&:not(:last-child){
-			.graph_content{
-				border-bottom: none;
-			}
-		}
-		.graph_title{
-			@include clickable_title;
-			border-bottom: none;
-		}
-		.graph_content{
-			@include graph_component;
-			width: 100%;
-			height: $total_graph_height;
-			border: 1px solid #ccc;
-			position: absolute;
-			.graph_data{
-				@include box-sizing(border-box);
-				width: 100%;
-				padding: 10px 10px 0 10px;
-				.graph{
-          margin: 5px 5px 5px 5px;
-					height: $graph_height - 20;
-				}
-			}
-      .graph_info {
-				padding: 0 50px 0 205px;
-        bottom: 0;
-        .graph-info-table {
-          width: 100%;
-          margin: -5px 0 0 0;
-          .slider-info{
-            text-align: right;
-            .slider-time{
-              text-align: right;
-              width: 14px;
-            }
-            .min-date, .max-date {
-              text-align: right;
-              width: 100px;
-            }
-            .slider-redraw { margin: 0 5px 9px 0; }
-          }
-          .slider-box {
-            width: 350px;
-            .slider{
-              width: 300px;
-              margin-right: 15px;
-              float: right;
-            }
-          }
-          span.axis-value{
-            font-weight: bold;
-          }
-        }
-      }
-		}
-	}
-  .loading-spinner {
-    float: left;
-    position: absolute;
-    padding: 9px 0 0 9px;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/help.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/help.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/help.scss
deleted file mode 100644
index e442d56..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/help.scss
+++ /dev/null
@@ -1,39 +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.
- */
-
-#page-help{ text-decoration: none; }
-#help-window{
-  overflow: auto;
-  height: 600px;
-	max-width: 500px;
-  .help-section{
-    cursor: pointer;
-    margin: 2px;
-    padding: 8px;
-    padding-left: 10px;
-    background: #EEE;
-    @include standard-border;
-    .help-label{
-      margin: 0px;
-      margin-bottom: 5px;
-    }
-    .head{
-      margin-bottom: 2px;
-    }
-    ul{ margin-top: 3px; }
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/mixins.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/mixins.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/mixins.scss
deleted file mode 100644
index 5dc0567..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/mixins.scss
+++ /dev/null
@@ -1,76 +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.
- */
-// Fonts
-@mixin standard-font {
-  font-weight: bold;
-  color: $font-color;
-}
-
-// Borders
-@mixin border        { border:        $border_width $border_style $border_color; }
-@mixin border-top    { border-top:    $border_width $border_style $border_color; }
-
-@mixin border-radius-bottom($radius:5px) {
-	-webkit-border-bottom-left-radius: $radius;
-	-webkit-border-bottom-right-radius: $radius;
-	-moz-border-radius-bottomleft: $radius;
-	-moz-border-radius-bottomright: $radius;
-}
-
-@mixin border-radius-top($radius:5px) {
-  -webkit-border-top-left-radius: $radius;
-  -webkit-border-top-right-radius: $radius;
-  -moz-border-radius-topleft: $radius;
-  -moz-border-radius-topright: $radius;
-}
-
-@mixin border-radius-right($radius:5px) {
-	-webkit-border-top-right-radius: $radius;
-	-webkit-border-bottom-right-radius: $radius;
-	-moz-border-radius-topright: $radius;
-	-moz-border-radius-bottomright: $radius;
-}
-
-@mixin border-radius-left($radius:5px) {
-	-webkit-border-top-left-radius: $radius;
-	-webkit-border-bottom-left-radius: $radius;
-	-moz-border-radius-topleft: $radius;
-	-moz-border-radius-bottomleft: $radius;
-}
-
-@mixin danger-progress-background{
-  background-image: -moz-linear-gradient(top, #EE5F5B, #C43C35);
-  background-image: -ms-linear-gradient(top, #EE5F5B, #C43C35);
-  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#EE5F5B), to(#C43C35));
-  background-image: -webkit-linear-gradient(top, #EE5F5B, #C43C35);
-  background-image: -o-linear-gradient(top, #EE5F5B, #C43C35);
-  background-image: linear-gradient(top, #EE5F5B, #C43C35);
-}
-
-@mixin neutral-progress-background{
-  background-image: -moz-linear-gradient(top, #08C, #04C);
-  background-image: -ms-linear-gradient(top, #08C, #04C);
-  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08C), to(#04C));
-  background-image: -webkit-linear-gradient(top, #08C, #04C);
-  background-image: -o-linear-gradient(top, #08C, #04C);
-  background-image: linear-gradient(top, #08C, #04C);
-}
-
-@mixin standard-border {
-  @include border-radius;
-  @include border;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/navigation.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/navigation.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/navigation.scss
deleted file mode 100644
index 9ee26a9..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/navigation.scss
+++ /dev/null
@@ -1,102 +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.
- */
-$nav-height: 40px;
-
-#root{
-  .navbar{
-    // A complete hack for FF width bug
-    padding-right: 3px;
-    background: url("gradient.png") repeat-x scroll 0 -58px;
-    .brand{
-      padding-bottom: 0px;
-    }
-  }
-	.navbar-inner {
-    // Also part of the browser hack for FF
-		background: transparent;
-		@include border-radius(0);
-		height: $nav-height;
-		> ul li {
-			&.active > a{
-				color: $base-theme-color;
-				background-color: transparent;
-			}
-		}
-    #zookeeper_select > select{
-      margin: 6px;
-    }
-	}
-  #bd {
-    @include clearfix;
-    position:relative;
-  }
-}
-
-#flash {
-  width: 600px;
-  text-align: center;
-  font-size: 1.2em;
-  font-weight: bold;
-  bottom: 0px;
-  right: 0px;
-  position: fixed;
-  z-index: 100;
-  div{
-    position: absolute;
-    @include transition(right 3s);
-    right: -600px;
-    bottom: 0px;
-    cursor: pointer;
-    max-width: 600px;
-    min-width: 300px;
-    $alert-height: 44px;
-    height: $alert-height;
-    line-height: $alert-height;
-    margin: auto;
-    padding: 0px 14px 0px 14px;
-    &:not(:first-child){
-      @include border-radius(0px);
-    }
-    @include border-radius-bottom(0px);
-    @include border-radius-right(0px);
-  }
-}
-
-#ft {
-  bottom: 0;
-  position: fixed;
-  width: 100%;
-  $footer-color: lighten($base-theme-color, 20%);
-  background-color: $footer-color;
-  text-align: center;
-  height: $footer-height;
-  line-height: $footer-height - 1;
-  border-top: 1px solid darken($footer-color, 10%);
-  @include box-shadow(0 1px 0 lighten($footer-color, 10%) inset);
-  text-align: right;
-  z-index: 99;
-  
-  #company-info {
-    float: right;
-    margin-top: 15px;
-  }
-  p{
-    color: darken($footer-color, 40%);
-    text-decoration: none;
-    margin-right: 50px;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/search.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/search.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/search.scss
deleted file mode 100644
index df1af90..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/search.scss
+++ /dev/null
@@ -1,237 +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.
- */
-@mixin search-tab {
-  width: 9%;
-  text-align: left;
-  .header{
-    text-align: center;
-    cursor: pointer;
-  }
-  position: relative;
-  border-right: 1px solid #ccc;
-  .body{
-    min-width: 200px;
-	  top: 35px;
-	  right: 0px;
-	  background-color: #F4F4F4;
-	  position: absolute;
-		@include border-radius-bottom;
-	  border: solid 1px #ccc;
-	  border-top: none;
-  }
-  img{ 
-    vertical-align: middle;
-    padding: 0px 0px 4px 4px;
-  }
-}
-
-@mixin title-style{
-  text-align: center;
-  font-weight: bold;
-  padding-bottom: 10px;
-}
-#search_page_wrapper {
-  text-align: center;
-  .section{
-    border-top: 1px solid #ccc;   
-    padding: 10px 0 10px 0;     
-  }
-
-  #filter_section {
-    width: 100%;
-    z-index: 999;
-    @include standard-font;
-    position: absolute;
-    top: -20px;
-    left: 0;
-    padding: 10px 0px 0px 10px;
-    @include box-sizing(border-box);
-		@include gradient-vertical(#fff, #F4F4F4);
-    border-bottom: 1px solid #ccc;
-    #filters_wrap{
-      & > div{ display:inline-block; }
-      .partial-section, .body { padding: 0.5em; }
-
-      #standard{
-        position: relative;
-        width: 69%;
-        .search_field{
-          display: inline-block;
-          width: 89%;
-          #query_string{
-            width: 100%;
-            @include border-radius-right(0);
-            padding-right: 0px;
-          }
-        }
-        .btn{
-          width: 10%;
-          @include border-radius-left(0);
-          margin-bottom: 9px;
-          &:disabled{
-            height: 30px;
-          }
-        }
-        img{
-          position: absolute;
-          padding: 6px 4px;
-        }
-      }
-
-      #blur-table{
-        width: 9%;
-        margin: 0 5px 0 15px;
-        #blur_table{
-          width: 100%;
-        }
-      }
-
-      #advanced{
-        .arrow_up { display: none; }
-        @include search-tab;
-        border-left: 1px solid #ccc;
-        .body{
-          #blur_table{ width: 100%; }
-          td:first-child{ font-weight: bold; }
-        }
-        input{ width: 50px; }
-        #filter_columns{
-          max-height: 250px;
-          overflow: auto;
-          align: right;
-        }
-        #radio_buttons{
-          margin-top: -15px;
-          margin-left: 25px;
-          margin-bottom: -15px;
-        }
-        #radio_headers{
-          margin-top: -20px;
-        }
-        .filter_text{
-          width: 100%;
-        }
-      }
-
-      #loading-spinner { vertical-align: middle; }
-
-      #saved{
-        .arrow_up { display: none; }
-        text-align: center;
-        @include search-tab;
-        .action-icon{ cursor: pointer; }
-        .saved-title{ @include title-style; }
-      }
-    }
-  }
-
-    
-    .filter {
-      font-weight: bold;
-      td{
-        padding: 3px;
-      }
-      .filtered-title{
-        @include title-style;
-      }
-    }
-
-    .filter#buttons { 
-      text-align: center; 
-      button{font-size:85%;} 
-      display: inline-block;
-      width: 100%;
-      padding-top: 10px;
-    }
-    
-    #search_form{ margin: 0px; }
-
-  #results_wrapper{
-    margin-top:35px;
-    max-width: 100%;
-    overflow: auto;
-    border: 1px solid #999;
-    display: inline-block;
-    &.noResults{
-      border: none;
-    }
-
-    #results_container{
-      position: relative;
-      .no-results{
-        padding-top: 1em;
-        font-weight: bold;
-        line-height: 1.5em;
-        font-size: 1.5em;
-      }
-      #results_info{
-        background-color: white;
-        text-align: left;
-      }
-
-      #results_section{
-        display: inline-block;
-        background-color : white;
-        width: auto;
-      }
-    }
-    table {
-      border-top: solid 1px #ccc;
-      margin: 0px;
-      empty-cells: show;
-      td{ min-width: 100px; }
-      thead {
-        background-color: $table-hd-color;
-        th {
-          background: transparent;
-          text-align: center;
-          color: $table-hd-text;
-          font-weight: bold;
-          font-size: 120%;
-        }
-        tr.columnsets th {
-          font-weight: normal;
-          }
-      }
-      tbody {
-        td.even {
-          background-color: $table-hd-color
-        }
-        tr.first{
-          @include border-top;
-          vertical-align: top;
-        }
-      }
-    }
-  }
-
-  #saved, #store , #advanced { & .body { display: none; } }
-
-  .header {
-    padding: 5px 0;
-    img{
-      vertical-align: middle;
-    }
-		label { cursor: pointer; }
-  }
-
-  // Navigation Tab label div
-  .tab { background-color:#EEE; }
-  .search-name{float:left;}
-  .search-buttons{float:right;}
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/user_session.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/user_session.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/user_session.scss
deleted file mode 100644
index ee80a13..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/user_session.scss
+++ /dev/null
@@ -1,31 +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.
- */
-#login_wrapper{
-  @include standard-font;
-  padding-top: 150px;
-	width: 400px;
-	margin-left: auto;
-	margin-right: auto;
-	text-align: center;
-}
-.help-inline{
-  display: none;
-}
-
-p{
-  padding-top: 5px;
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/users.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/users.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/users.scss
deleted file mode 100644
index 2afeee9..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/users.scss
+++ /dev/null
@@ -1,172 +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.
- */
-@mixin info($color) {
-  @include border;
-  @include border-radius;
-  background-color: $color;
-}
-
-@mixin pref-box{
-  @include info(white);
-  margin:0px 0px 0px 0px;
-}
-
-ul{ margin: 5px; }
-
-#admin_wrapper, #new_user_wrapper, #edit_user_wrapper, #show_user_wrapper{
-  @include standard-font;
-
-  $select-color: #FAD08A;
-
-  text-align: center;
-  margin-top: 1em;
-  label {
-      font-size:20px;
-      margin: 5px 0px 5px 0px;
-      color:$blue-dashboard-color;
-  }
-  span{
-      font-weight:normal;
-  }
-  #roles_wrapper{
-    li{
-      list-style-type:none;
-      display:block;
-    }
-  }
-  .info-contain{
-    @include clearfix;
-    min-width: 580px;
-  }
-
-  //user info box
-  #user-info{
-    @include info(#F9F9F9);
-    min-width: 175px;
-    margin-top:2px;
-    p{
-      margin: 5px;
-    }
-  }
-
-  #pref-bin{
-    @include clearfix;
-  }
-
-  #pref-trash, #pref-key{
-    @include pref-box;
-    margin-top:5px;
-  }
-
-  #pref-key {
-    padding: 5px;
-    text-align: center;
-    #orange_color, #blue_color {
-      height: 10px;
-      width: 10px;
-      display: inline-block;
-    }
-    #orange_color { @include info($select-color); }
-    #blue_color { @include info($table-hd-color); }
-  }
-
-  #actual-trash{
-    div:not(#trash){
-      display:none;
-    }
-  }
-
-  #pref-col-info{
-    padding:5px;
-    @include info(#F9F9F9);
-    min-width: 300px;
-  }
-
-  #zookeeper-pref{
-    @include pref-box;
-    @include info(#F9F9F9);
-    display:inline-block;
-    padding:5px;
-    margin-left:10px;
-    width:300px;
-    #zookeeper_submit{
-      width:75px;
-    }
-  }
-
-  #pref-col{ @include pref-box; }
-  #pref-title{
-    h3{ text-align: center; }
-    .loading-spinner { margin-left: 20px; float: left; }
-  }
-  .hidden-spinner {
-    .loading-spinner { display: none !important; }
-    h3 { margin-left: 36px; } }
-
-  #opt-col{
-    @include info(white);
-    @include pref-box;
-    float: right;
-  }
-
-  .fam{
-    padding:5px;
-    margin:5px;
-    cursor:pointer;
-    padding: 2px;
-    margin:2px;
-    @include info($table-hd-color);
-  }
-
-  .section-label{ text-align:center; }
-  .my-select{ background-color:$select-color; }
-  #no-saved, #trash{
-    text-align:center;
-    font-weight:200;
-  }
-
-  .sel-fam{
-    cursor:grab;
-    cursor:grab;
-    cursor:-moz-grab;
-    cursor:-webkit-grab;
-
-    @include info($select-color);
-    padding:2px;
-    margin:2px;
-  }
-  .inputs-list{
-    list-style-type: none;
-    li{
-      padding: 5px 0 5px 0;
-      input[type=checkbox]{
-        display: inline-block;
-      }
-    }
-  }
-  .table-filter{
-    input[type=submit]{
-      margin-bottom: 9px;
-    }
-  }
-  .clarification{
-    margin-bottom: 25px;
-  }
-  .filter-header{
-    margin-top: 45px;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/zookeeper.scss
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/zookeeper.scss b/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/zookeeper.scss
deleted file mode 100644
index 6c94735..0000000
--- a/contrib/blur-console-v1/blur-admin/app/assets/stylesheets/zookeeper.scss
+++ /dev/null
@@ -1,142 +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.
- */
-$opacity-adjust: 0;
-#zookeeper_wrapper {
-  i { cursor: pointer; }
-  $header-padding: 20px;
-  margin-top: 2em;
-  #blur, #zookeeper{ margin-bottom: 2em;}
-  #zookeeper {
-    @include border-radius();
-    opacity: .9;
-    height: 60px;
-    width: 500px;
-    margin-left:auto;
-    margin-right:auto;   
-    h2 {
-      font-size: 20px;
-      padding: 10px 10px 0px;
-      color: white;
-      line-height: 40px;
-      @include box-sizing(border-box);
-      height: 100%;
-      position: relative;
-      top: -10px;
-      
-      .nodes {
-        position: relative;
-        bottom: 20px;
-        font-size: 12px;
-        opacity: .8;
-        text-overflow: ellipsis;
-        white-space: nowrap;
-        overflow: hidden;
-
-        span{
-          cursor: pointer;
-        }
-      }
-      
-      i {
-        position: absolute;
-        top: 15px;
-        right: 5px;
-      }
-    }
-
-  }
-  #blur {
-    #controllers, #clusters{ padding: 5px; @include box-sizing(border-box); min-width: 550; border-top: 1px solid #CCCCCC;}
-    thead{
-      background-color: whitesmoke;
-    }
-
-    table tbody tr{
-      &.no_children{
-        display: none;
-      }
-      &.error{
-        &:hover{
-          td{
-            background-color: #EBCCCC;
-          }
-        }
-        td{
-          background-color: #F2DEDE;
-        }
-      }
-
-      &.warning{
-        &:hover{
-          td{
-            background-color: #FAF2CC;
-          }
-        }
-        td{
-          background-color: #FCF8E3;
-        }
-      }  
-      
-      td{
-
-        a {
-          text-decoration: none;
-          cursor: pointer;
-        }
-        
-        .noColor{
-          background-color: transparent;
-          color:black;
-        }
-        color{
-          //color: rgba(125, 199, 125, 1);
-          font-weight: bold;
-        }
-      }
-      
-      td:last-child { text-align: center; width: 34px; }
-    }
-    ul{ list-style-type: none; }
-    .blur_container{ margin-bottom: 2em }
-  }
-  .status{ width:75px; @include zoo-status;}
-
-  h3 { margin-top: 0.5em; border-bottom: $twitter-border;}
-  
-  .noController{
-    position: relative;
-    top: 40px;
-    font-size: 20px;
-    color: #93A7AC;
-  }
-  .subHeaders{
-    display: inline-block;
-    font-size: 24px;
-    font-weight: bold;
-    color: #93A7AC;
-    background: none repeat scroll 0 0 #FFFFFF;
-    position: relative;
-    top: -16px;
-    left: 10px;    
-  }
-  
-  .row{
-    margin-left:auto;
-    margin-right:auto;
-    width: 1200px;
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/controllers/admin_settings_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/admin_settings_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/admin_settings_controller.rb
deleted file mode 100644
index a358266..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/admin_settings_controller.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 AdminSettingsController < ApplicationController
-  respond_to :html
-
-  def update
-    search_filter = AdminSetting.find_or_create_by_setting(params[:setting])
-    search_filter.value = params[:value]
-    search_filter.save
-    respond_with do |format|
-      format.html { render :nothing => true }
-    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/app/controllers/application_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/application_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/application_controller.rb
deleted file mode 100644
index b784087..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,131 +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 ApplicationController < ActionController::Base
-  protect_from_forgery
-
-  before_filter :lock_down_api
-
-  respond_to :html, :only => :help
-
-  require 'thrift/blur'
-  require 'blur_thrift_client'
-
-  helper_method :current_user
-
-  enable_authorization do |exception|
-    if current_user
-      if can? :index, :zookeepers
-        redirect_to root_url, :alert => "Unauthorized"
-      else
-        redirect_to logout_url, :alert => "Unauthorized"
-      end
-    else
-      redirect_to login_path, :alert => "Please login"
-    end
-  end
-
-  def current_user
-    @current_user ||= current_user_session && current_user_session.user
-  end
-
-  def help
-    @tab = params['tab']
-    respond_to do |format|
-      format.any  { render :partial => 'layouts/help_menu' }
-    end
-  end
-
-  # Populates the @current_zookeeper instance variable
-  def current_zookeeper
-    # Find the zookeeper with the given or the stored session id
-    @current_zookeeper ||= Zookeeper.find_by_id(params[:zookeeper_id] || session[:current_zookeeper_id])
-    if @current_zookeeper.nil?
-      zookeeper_error
-    else
-      # Set the zookeeper
-      set_zookeeper @current_zookeeper.id
-    end
-    @current_zookeeper
-  end
-
-  def set_zookeeper(id)
-    # Convert all inputs to an int
-    id = id.to_i
-    # Avoids a DB hit if the id is unchanged
-    session[:current_zookeeper_id] = id if session[:current_zookeeper_id] != id
-  end
-
-  private
-
-  # Populates the session id with your preference zookeeper id
-  def set_zookeeper_with_preference
-    user_zk_pref = current_user.zookeeper_preference
-
-    if user_zk_pref.name.to_i > 0 # If your preference is not the default
-      # If your preferred zookeeper doesnt exist
-      if Zookeeper.find_by_id(user_zk_pref.value).nil?
-        flash[:error] = "Your preferred Zookeeper no longer exists, your preference has been reset!"
-        # Reset their preference to the default
-        user_zk_pref.name = 0
-        user_zk_pref.save
-      else
-        set_zookeeper user_zk_pref.value
-      end
-    end
-  end
-
-  # Populates the @zookeepers instance variable for option select
-  def zookeepers
-    @zookeepers ||= Zookeeper.order 'name'
-  end
-
-  def current_user_session
-    @current_user_session ||= UserSession.find
-  end
-
-  ### Application Wide Error Handling ###
-  #Locks the actions to their defined "formats"
-  def lock_down_api
-    action = params[:action]
-    # When the format is blank it is an http request
-    format = (params[:format] || :html).to_sym
-    # Respond to specific format and hash of actions
-    accepted_actions = mimes_for_respond_to[format]
-    error = true
-
-    # If the action doesnt respond to that format
-    if !accepted_actions.nil?
-      if accepted_actions[:except]
-        error = accepted_actions[:except].include?(action)
-      elsif accepted_actions[:only]
-        error = !accepted_actions[:only].include?(action)
-      else
-        error = false
-      end
-    end
-
-    raise "Unaccepted Format for this Action!" if error
-  end
-
-  # Error message for incorrect zookeeper find
-  def zookeeper_error
-    if request.xhr?
-      render :status => :conflict, :text => "No Current Zookeeper"
-    else
-      flash[:error] = "A Zookeeper with that id does not exist!"
-      redirect_to root_path
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/controllers/audits_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/audits_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/audits_controller.rb
deleted file mode 100644
index 15ca0f0..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/audits_controller.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 AuditsController < ApplicationController
-  respond_to :json, :html
-
-  def index
-    from = params[:from] || 48  # Use the given min time or the default 48 hours
-    to = params[:to] || 0       # Use the given max time or the default (now)
-    @audits = Audit.recent from.to_i, to.to_i
-
-    respond_with(@audits)
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/controllers/blur_controllers_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/blur_controllers_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/blur_controllers_controller.rb
deleted file mode 100644
index 83be286..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/blur_controllers_controller.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 BlurControllersController < ApplicationController
-  load_and_authorize_resource
-  
-  respond_to :json
-
-  def destroy
-    raise "Cannot Remove A Controller that is online!" if @blur_controller.controller_status == 1
-    @blur_controller.destroy
-    Audit.log_event(current_user, "Controller (#{@blur_controller.node_name}) was forgotten",
-                    "controller", "delete", @blur_controller.zookeeper) if @blur_controller.destroyed?
-    respond_with(@blur_controller) do |format|
-      format.json
-    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/app/controllers/blur_queries_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/blur_queries_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/blur_queries_controller.rb
deleted file mode 100644
index 08d237f..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/blur_queries_controller.rb
+++ /dev/null
@@ -1,58 +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 BlurQueriesController < ApplicationController
-  load_and_authorize_resource :through => :current_zookeeper,
-                              :shallow => true, :except => :refresh
-
-  before_filter :zookeepers, :only => :index
-
-  respond_to :html, :only => [:index, :show, :cancel]
-  respond_to :json, :only => [:refresh, :show]
-
-  def index
-    respond_with(@blur_queries)
-  end
-
-  def refresh
-    lower_range = params[:time_length].to_i.minute.ago
-    query_summaries = current_zookeeper.refresh_queries(lower_range).collect do |query| 
-      summary = query.summary(current_user)
-      summary[:action] = ''
-      summary
-    end
-
-    respond_with(query_summaries) do |format|
-      # Root node aaData is for the datatable library
-      format.json { render :json => { :aaData => query_summaries } }
-    end
-  end
-
-  def show
-    respond_with(@blur_query) do |format|
-      format.html { render :partial => 'show' }
-      format.json { render :json => @blur_query.summary(current_user) }
-    end
-  end
-
-  def cancel
-    @blur_query.cancel
-    Audit.log_event(current_user, "BlurQuery with UUID #{@blur_query.uuid}) was canceled",
-                    "blur_query", "update", current_zookeeper)
-
-    respond_with(@blur_query) do |format|
-      format.html { render :partial => 'blur_query' }
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/controllers/blur_shards_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/blur_shards_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/blur_shards_controller.rb
deleted file mode 100644
index 251f18a..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/blur_shards_controller.rb
+++ /dev/null
@@ -1,35 +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 BlurShardsController < ApplicationController
-  load_and_authorize_resource :cluster
-  load_and_authorize_resource :through => :cluster, :shallow => true
-
-  respond_to :json
-
-  def index
-    respond_with(@blur_shards) do |format|
-      format.json { render :json => @blur_shards, :except => :cluster_id }
-    end
-  end
-
-  def destroy
-    raise "Cannot Remove A Shard that is online!" if @blur_shard.shard_status == 1
-    @blur_shard.destroy
-    Audit.log_event(current_user, "Shard (#{@blur_shard.node_name}) was forgotten",
-                    "shard", "delete", @blur_shard.zookeeper) if @blur_shard.destroyed?
-
-    respond_with(@blur_shard)
-  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/app/controllers/blur_tables_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/blur_tables_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/blur_tables_controller.rb
deleted file mode 100644
index 4c0a7fc..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/blur_tables_controller.rb
+++ /dev/null
@@ -1,108 +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 BlurTablesController < ApplicationController
-  load_and_authorize_resource :shallow => true, :only => [:comment, :terms, :hosts, :schema]
-
-  before_filter :zookeepers, :only => :index
-
-  respond_to :html, :only => [:index]
-  respond_to :json
-
-  def index
-    @clusters = current_zookeeper.clusters_with_query_status(current_user)
-    respond_with(@clusters) do |format|
-      format.json { render :json => @clusters, :methods => [:blur_tables], :blur_tables => true }
-    end
-  end
-
-  def enable
-    table_update_action do |table|
-      table.table_status = STATUS[:enabling]
-      table.enable current_zookeeper.blur_urls
-      table.save
-      Audit.log_event(current_user, "Table, #{table.table_name}, was enabled",
-                      "blur_table", "update", current_zookeeper)
-    end
-  end
-
-  def disable
-    table_update_action do |table|
-      table.table_status = STATUS[:disabling]
-      table.disable current_zookeeper.blur_urls
-      table.save
-      Audit.log_event(current_user, "Table, #{table.table_name}, was disabled",
-                      "blur_table", "update", current_zookeeper)
-    end
-  end
-
-  def destroy
-    destroy_index = params[:delete_index] == 'true' # Destroy underlying index boolean
-    tables = params[:tables]                        # Tables being destroyed
-    blur_urls = current_zookeeper.blur_urls         # Cached blur_urls
-
-    BlurTable.find(tables).each do |table|
-      table.blur_destroy destroy_index, blur_urls
-      index_message = "and underlying index " if destroy_index
-      Audit.log_event(current_user, "Table, #{table.table_name}, #{index_message}was deleted",
-                      "blur_table", "update", current_zookeeper)
-    end
-    BlurTable.destroy tables
-
-    respond_to do |format|
-      format.json { render :json => {} }
-    end
-  end
-
-  def terms
-    terms = @blur_table.terms current_zookeeper.blur_urls, params[:family], params[:column], params[:startwith], params[:size].to_i
-
-    respond_with(terms)
-  end
-
-  def hosts
-    respond_with(@blur_table) do |format|
-      format.json { render :json => @blur_table.hosts }
-    end
-  end
-
-  def schema
-    respond_with(@blur_table) do |format|
-      format.json { render :json => @blur_table.schema }
-    end
-  end
-
-  def comment
-    raise "No comment provided!" if params[:comment].nil?
-    @blur_table.comments = params[:comment]
-    @blur_table.save
-
-    respond_with(@table)
-  end
-
-  private
-
-  STATUS = {:enabling => 5, :active => 4, :disabling => 3, :disabled => 2, :deleting => 1, :deleted => 0}
-  STATUS_SELECTOR = {:active => [4, 3], :disabled => [2, 5, 1], :deleted => [0]}
-
-  def table_update_action
-    BlurTable.find(params[:tables]).each do |table|
-      yield table
-    end
-
-    respond_to do |format|
-      format.json { render :json => {} }
-    end
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/controllers/clusters_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/clusters_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/clusters_controller.rb
deleted file mode 100644
index a4b9332..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/clusters_controller.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 ClustersController < ApplicationController
-  load_and_authorize_resource
-
-  respond_to :json
-
-  def destroy
-    raise "Cannot Remove A Cluster that is online!" if @cluster.cluster_status == 1
-    @cluster.destroy
-    Audit.log_event(current_user, "Cluster (#{@cluster.name}) was forgotten",
-                    "cluster", "delete", @cluster.zookeeper) if @cluster.destroyed?
-    respond_with(@cluster)
-  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/app/controllers/errors_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/errors_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/errors_controller.rb
deleted file mode 100644
index 4c2cd40..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/errors_controller.rb
+++ /dev/null
@@ -1,31 +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 ErrorsController < ApplicationController
-  respond_to :json, :html
-
-  def error_404
-    render :error_404, :status => :not_found
-  end
-
-  def error_500
-    @error = env["action_dispatch.exception"]
-    @status_code = ActionDispatch::ExceptionWrapper.new(env, @exception).status_code
-    render :error_500, :status => 500
-  end
-
-  def error_422
-    render :error_422, :status => 422
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/controllers/hdfs_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/hdfs_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/hdfs_controller.rb
deleted file mode 100644
index 1f0c5a1..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/hdfs_controller.rb
+++ /dev/null
@@ -1,176 +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 HdfsController < ApplicationController
-  require 'hdfs_thrift_client'
-  load_and_authorize_resource :shallow => true
-
-  HTML_REPONSES = [:info, :folder_info, :expand, :file_info, :upload_form, :upload]
-  respond_to :html, :only => (HTML_REPONSES + [:index])
-  respond_to :json, :except => HTML_REPONSES
-
-  include ActionView::Helpers::NumberHelper
-
-  def index
-    respond_with do |format|
-      format.json { render :json => @hdfs, :methods => [:most_recent_stats, :recent_stats] }
-    end
-  end
-
-  def info
-    @hdfs_stat = @hdfs.hdfs_stats.last
-    respond_with(@hdfs_stat) do |format|
-      format.html do
-        if @hdfs_stat
-          render :partial => 'info'
-        else
-          render :text => "<div>Stats for hdfs ##{params[:id]} were not found, is the blur tools agent running?</div>"
-        end
-      end
-    end
-  end
-
-  def folder_info
-    client = build_client_from_id
-    path = params[:fs_path]
-
-    @stat = client.stat path
-    respond_with(@stat) do |format|
-      format.html{ render :partial => 'folder_info' }
-    end
-  end
-
-  def slow_folder_info
-    client = build_client_from_id
-    path = params[:fs_path]
-    file_stats = client.ls(path, true)
-    file_size = 0
-    stats_hash = {:file_size => 0, :file_count => 0, :folder_count => 0}
-
-    file_stats.each do |stat|
-      file_size += stat.length
-      stats_hash[:file_count] += 1 unless stat.isdir
-      stats_hash[:folder_count] += 1 if stat.isdir
-    end
-    stats_hash[:file_size] = number_to_human_size file_size
-
-    respond_with(stats_hash)
-  end
-
-  def expand
-    @hdfs_id = params[:id]
-    @path = params[:fs_path] || '/'
-    @path += '/' unless @path.last=='/'
-    client = build_client_from_id
-    fileStats = client.ls(@path)
-
-    @children = fileStats.collect do |stat|
-      file_ending = stat.path.split('/').last
-      {:name=> file_ending, :is_dir=>stat.isdir}
-    end
-    @children.sort_by! {|c| [c[:is_dir] ? 1:0, c[:name].downcase]}
-
-    respond_with do |format|
-      format.html { render :partial => 'expand' }
-    end
-  end
-
-  def mkdir
-    client = build_client_from_id
-    path = "#{params[:fs_path]}/#{params[:folder]}/"
-    path.gsub!(/\/\//, "/")
-    client.mkdirs(path)
-    Audit.log_event(current_user, "A folder, #{params[:folder]}, was created",
-      "hdfs", "create", @hdfs)
-
-    respond_with do |format|
-      format.json { render :json => {} }
-    end
-  end
-
-  def file_info
-    client = build_client_from_id
-    @stat = client.stat params[:fs_path]
-    respond_with do |format|
-      format.html { render :partial => 'file_info' }
-    end
-  end
-
-  def move_file
-    file_name = params[:from].strip.split("/").last
-    client = build_client_from_id
-    client.rename(params[:from], params[:to].gsub(/(\/$)/, '') + '/' + file_name)
-    Audit.log_event(current_user, "File/Folder, #{file_name}, was moved or renamed to #{params[:to]}",
-      "hdfs", "update", @hdfs)
-
-    respond_with do |format|
-      format.json { render :json => {} }
-    end
-  end
-
-  def delete_file
-    client = build_client_from_id
-    path = params[:path]
-    client.delete path, true
-    file_name = params[:path].strip.split("/").last
-    Audit.log_event(current_user, "File/Folder, #{file_name}, was deleted",
-      "hdfs", "delete", @hdfs)
-
-    respond_with do |format|
-      format.json { render :json => {} }
-    end
-  end
-
-  def upload_form
-    respond_with do |format|
-      format.html { render :partial => 'upload_form' }
-    end
-  end
-
-  def upload
-    begin
-      if !(params[:upload].nil? or params[:path].nil? or params[:id].nil?)
-        f = params[:upload]
-        @path = params[:path].gsub(/(\/$)/, '')
-        if f.tempfile.size > 26214400
-          @error = 'Upload is Too Large.  Files must be less than 25Mb.'
-        else
-          client = build_client_from_id
-          client.put(f.tempfile.path, @path + '/' + f.original_filename)
-          Audit.log_event(current_user, "File, #{f.original_filename}, was uploaded",
-            "hdfs", "create", @hdfs)
-        end
-      else
-        @error = 'Problem with File Upload'
-      end
-    rescue Exception => e
-      @error = e.to_s
-    end
-    respond_with do |format|
-      format.html { render :partial => 'upload' }
-    end
-  end
-
-  def file_tree
-    client = build_client_from_id
-    file_structure = client.folder_tree params[:fs_path], 4
-    respond_with(file_structure)
-  end
-
-  private
-  def build_client_from_id
-    HdfsThriftClient.client("#{@hdfs.host}:#{@hdfs.port}")
-  end
-end
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/controllers/hdfs_metrics_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/hdfs_metrics_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/hdfs_metrics_controller.rb
deleted file mode 100644
index 541acbb..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/hdfs_metrics_controller.rb
+++ /dev/null
@@ -1,51 +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 HdfsMetricsController < ApplicationController
-  respond_to :html, :only => [:index]
-  respond_to :json, :only => [:stats]
-
-  def index
-    @hdfs_index = Hdfs.all
-    respond_with(@hdfs_index)
-  end
-
-  def stats
-    @results = hdfs_stat_select [:present_capacity, :dfs_used_real, :live_nodes, :dead_nodes, :under_replicated, :corrupt_blocks, :missing_blocks]
-    respond_with(@results) do |format|
-      format.json { render :json => @results, :methods => [:capacity, :used], :except => [:present_capacity, :dfs_used] }
-    end
-  end
-
-  private
-  def hdfs_stat_select(properties)
-    hdfs = Hdfs.find params[:id]
-    properties = [:id, :created_at] + properties
-
-    if params[:stat_id]
-      where_clause = "id > #{params[:stat_id]}"
-    else
-      where_clause = "created_at >= '#{params[:stat_min].to_i.minute.ago}'"
-      where_clause += " and created_at < '#{params[:stat_max].to_i.minute.ago}'" if params[:stat_max]
-    end
-
-    stat_number = hdfs.hdfs_stats.where(where_clause).select("count(*) as count")
-    if stat_number.count >= 700
-      remove_number = (stat_number.count / 700).floor
-      where_clause += " and hdfs_stats.id % #{remove_number} = 0"
-    end
-
-    return hdfs.hdfs_stats.where(where_clause).select(properties)
-  end
-end

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/70ce3b5d/contrib/blur-console-v1/blur-admin/app/controllers/preferences_controller.rb
----------------------------------------------------------------------
diff --git a/contrib/blur-console-v1/blur-admin/app/controllers/preferences_controller.rb b/contrib/blur-console-v1/blur-admin/app/controllers/preferences_controller.rb
deleted file mode 100644
index a0e1dfb..0000000
--- a/contrib/blur-console-v1/blur-admin/app/controllers/preferences_controller.rb
+++ /dev/null
@@ -1,35 +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 PreferencesController < ApplicationController
-  load_and_authorize_resource
-
-  respond_to :json
-
-  def update
-    @preference = Preference.find_by_pref_type_and_user_id params[:pref_type], params[:user_id]
-    updated_attr = {:value => params['value']}
-    
-    # Zookeeper pref uses the name as a data store
-    if params[:pref_type] == 'zookeeper'
-      updated_attr[:name] = params['name']
-      puts params['value']
-      set_zookeeper params['value']
-    end
-    @preference.try(:update_attributes, updated_attr)
-    respond_with(@preference) do |format|
-      format.json { render :json => {} }
-    end
-  end
-end


Mime
View raw message