org.apache.hadoop.conf.Configured



API Populatity

23 Client projects

Project: org.apache

Project facebook/hadoop-20 in file ....core.org.apache.hadoop.fs.TrashPolicyDefault.java (2012-05-04)
@@ -27,7 +27,6 @@ import java.util.Date;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.conf.Configured;
 import org.apache.hadoop.fs.permission.FsAction;
 import org.apache.hadoop.fs.permission.FsPermission;
 
@@ -51,7 +50,7 @@ public class TrashPolicyDefault extends TrashPolicy {
     new FsPermission(FsAction.ALL, FsAction.NONE, FsAction.NONE);
 
   protected static final DateFormat CHECKPOINT = new SimpleDateFormat("yyMMddHHmmss");
-  protected static final int MSECS_PER_MINUTE = 60*1000;
+  public static final int MSECS_PER_MINUTE = 60*1000;
 
   private Path current;
   protected Path homesParent;
Project facebookarchive/hadoop-20 in file ....core.org.apache.hadoop.fs.TrashPolicyDefault.java (2012-05-04)
@@ -27,7 +27,6 @@ import java.util.Date;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.conf.Configured;
 import org.apache.hadoop.fs.permission.FsAction;
 import org.apache.hadoop.fs.permission.FsPermission;
 
@@ -51,7 +50,7 @@ public class TrashPolicyDefault extends TrashPolicy {
     new FsPermission(FsAction.ALL, FsAction.NONE, FsAction.NONE);
 
   protected static final DateFormat CHECKPOINT = new SimpleDateFormat("yyMMddHHmmss");
-  protected static final int MSECS_PER_MINUTE = 60*1000;
+  public static final int MSECS_PER_MINUTE = 60*1000;
 
   private Path current;
   protected Path homesParent;
Project cloudera/impala in file ...apache.hadoop.hbase.constraint.BaseConstraint.java (2014-02-05)
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.hadoop.hbase.constraint;
-
-import org.apache.hadoop.conf.Configured;
-
-/**
- * Base class to use when actually implementing a {@link Constraint}. It takes
- * care of getting and setting of configuration for the constraint.
- */
-public abstract class BaseConstraint extends Configured implements Constraint {
-
-}