accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [14/14] accumulo git commit: Merge branch '1.6'
Date Tue, 23 Dec 2014 20:04:19 GMT
Merge branch '1.6'

Conflicts:
	server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
	server/gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java
	server/master/src/main/java/org/apache/accumulo/master/Master.java
	server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
	server/tracer/src/main/java/org/apache/accumulo/tracer/TraceServer.java
	server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
	server/tserver/src/main/java/org/apache/accumulo/tserver/log/LocalWALRecovery.java


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c2f59467
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c2f59467
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c2f59467

Branch: refs/heads/master
Commit: c2f59467a4f88ddc1a88d011515a083b7d183a4c
Parents: 9c019c1 2e5064e
Author: Josh Elser <elserj@apache.org>
Authored: Tue Dec 23 15:03:53 2014 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Tue Dec 23 15:03:53 2014 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/accumulo/server/init/Initialize.java  | 2 +-
 .../java/org/apache/accumulo/server/security/SecurityUtil.java     | 2 +-
 .../main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java   | 2 +-
 server/master/src/main/java/org/apache/accumulo/master/Master.java | 2 +-
 .../main/java/org/apache/accumulo/master/state/SetGoalState.java   | 2 +-
 .../monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java | 2 +-
 .../src/main/java/org/apache/accumulo/tracer/TraceServer.java      | 2 +-
 .../src/main/java/org/apache/accumulo/tserver/TabletServer.java    | 2 +-
 .../java/org/apache/accumulo/tserver/log/LocalWALRecovery.java     | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/c2f59467/server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
----------------------------------------------------------------------
diff --cc server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
index 28bd63b,48cf1bf..046cfb5
--- a/server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
@@@ -58,22 -50,9 +58,21 @@@ import org.apache.accumulo.core.master.
  import org.apache.accumulo.core.master.thrift.MasterGoalState;
  import org.apache.accumulo.core.metadata.MetadataTable;
  import org.apache.accumulo.core.metadata.RootTable;
 +import org.apache.accumulo.core.metadata.schema.MetadataSchema.ReplicationSection;
  import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection;
 +import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection.CurrentLocationColumnFamily;
 +import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection.DataFileColumnFamily;
 +import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection.FutureLocationColumnFamily;
 +import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection.LogColumnFamily;
 +import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection.ServerColumnFamily;
 +import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection.TabletColumnFamily;
 +import org.apache.accumulo.core.replication.ReplicationConstants;
 +import org.apache.accumulo.core.replication.ReplicationSchema.StatusSection;
 +import org.apache.accumulo.core.replication.ReplicationSchema.WorkSection;
 +import org.apache.accumulo.core.replication.ReplicationTable;
- import org.apache.accumulo.core.security.SecurityUtil;
  import org.apache.accumulo.core.util.CachedConfiguration;
  import org.apache.accumulo.core.util.ColumnFQ;
 +import org.apache.accumulo.core.util.LocalityGroupUtil;
  import org.apache.accumulo.core.volume.VolumeConfiguration;
  import org.apache.accumulo.core.zookeeper.ZooUtil;
  import org.apache.accumulo.fate.zookeeper.IZooReaderWriter;
@@@ -88,12 -66,12 +87,13 @@@ import org.apache.accumulo.server.const
  import org.apache.accumulo.server.fs.VolumeManager;
  import org.apache.accumulo.server.fs.VolumeManagerImpl;
  import org.apache.accumulo.server.iterators.MetadataBulkLoadFilter;
 +import org.apache.accumulo.server.replication.StatusCombiner;
  import org.apache.accumulo.server.security.AuditedSecurityOperation;
 -import org.apache.accumulo.server.security.SystemCredentials;
  import org.apache.accumulo.server.tables.TableManager;
  import org.apache.accumulo.server.tablets.TabletTime;
 +import org.apache.accumulo.server.util.ReplicationTableUtil;
  import org.apache.accumulo.server.util.TablePropUtil;
+ import org.apache.accumulo.server.security.SecurityUtil;
  import org.apache.accumulo.server.zookeeper.ZooReaderWriter;
  import org.apache.hadoop.conf.Configuration;
  import org.apache.hadoop.fs.FileStatus;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c2f59467/server/gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java
----------------------------------------------------------------------
diff --cc server/gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java
index 817b07c,8761480..93a9a49
--- a/server/gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java
+++ b/server/gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java
@@@ -59,18 -60,9 +59,17 @@@ import org.apache.accumulo.core.metadat
  import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection;
  import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection.DataFileColumnFamily;
  import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection.ScanFileColumnFamily;
 +import org.apache.accumulo.core.replication.ReplicationSchema.StatusSection;
 +import org.apache.accumulo.core.replication.ReplicationTable;
 +import org.apache.accumulo.core.replication.ReplicationTableOfflineException;
 +import org.apache.accumulo.core.replication.proto.Replication.Status;
  import org.apache.accumulo.core.security.Authorizations;
- import org.apache.accumulo.core.security.SecurityUtil;
 -import org.apache.accumulo.core.security.Credentials;
  import org.apache.accumulo.core.security.thrift.TCredentials;
 +import org.apache.accumulo.core.trace.CountSampler;
 +import org.apache.accumulo.core.trace.DistributedTrace;
 +import org.apache.accumulo.core.trace.Span;
 +import org.apache.accumulo.core.trace.Trace;
 +import org.apache.accumulo.core.trace.thrift.TInfo;
  import org.apache.accumulo.core.util.NamingThreadFactory;
  import org.apache.accumulo.core.util.Pair;
  import org.apache.accumulo.core.util.ServerServices;
@@@ -91,12 -82,19 +90,13 @@@ import org.apache.accumulo.server.fs.Vo
  import org.apache.accumulo.server.fs.VolumeManager.FileType;
  import org.apache.accumulo.server.fs.VolumeManagerImpl;
  import org.apache.accumulo.server.fs.VolumeUtil;
 +import org.apache.accumulo.server.rpc.RpcWrapper;
 +import org.apache.accumulo.server.rpc.TServerUtils;
+ import org.apache.accumulo.server.security.SecurityUtil;
 -import org.apache.accumulo.server.security.SystemCredentials;
  import org.apache.accumulo.server.tables.TableManager;
  import org.apache.accumulo.server.util.Halt;
 -import org.apache.accumulo.server.util.RpcWrapper;
 -import org.apache.accumulo.server.util.TServerUtils;
  import org.apache.accumulo.server.util.TabletIterator;
  import org.apache.accumulo.server.zookeeper.ZooLock;
 -import org.apache.accumulo.trace.instrument.CountSampler;
 -import org.apache.accumulo.trace.instrument.Sampler;
 -import org.apache.accumulo.trace.instrument.Span;
 -import org.apache.accumulo.trace.instrument.Trace;
 -import org.apache.accumulo.trace.thrift.TInfo;
  import org.apache.hadoop.fs.FileStatus;
  import org.apache.hadoop.fs.Path;
  import org.apache.hadoop.io.Text;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c2f59467/server/master/src/main/java/org/apache/accumulo/master/Master.java
----------------------------------------------------------------------
diff --cc server/master/src/main/java/org/apache/accumulo/master/Master.java
index 2e1c46b,585897a..12195fa
--- a/server/master/src/main/java/org/apache/accumulo/master/Master.java
+++ b/server/master/src/main/java/org/apache/accumulo/master/Master.java
@@@ -64,14 -61,10 +64,13 @@@ import org.apache.accumulo.core.master.
  import org.apache.accumulo.core.metadata.MetadataTable;
  import org.apache.accumulo.core.metadata.RootTable;
  import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection;
 +import org.apache.accumulo.core.replication.ReplicationTable;
 +import org.apache.accumulo.core.replication.thrift.ReplicationCoordinator;
  import org.apache.accumulo.core.security.Authorizations;
 -import org.apache.accumulo.core.security.Credentials;
  import org.apache.accumulo.core.security.NamespacePermission;
- import org.apache.accumulo.core.security.SecurityUtil;
  import org.apache.accumulo.core.security.TablePermission;
 +import org.apache.accumulo.core.trace.DistributedTrace;
 +import org.apache.accumulo.core.trace.thrift.TInfo;
  import org.apache.accumulo.core.util.Daemon;
  import org.apache.accumulo.core.util.Pair;
  import org.apache.accumulo.core.util.UtilWaitThread;
@@@ -115,13 -102,10 +114,14 @@@ import org.apache.accumulo.server.maste
  import org.apache.accumulo.server.master.state.TabletState;
  import org.apache.accumulo.server.master.state.ZooStore;
  import org.apache.accumulo.server.master.state.ZooTabletStateStore;
 +import org.apache.accumulo.server.metrics.Metrics;
 +import org.apache.accumulo.server.replication.ZooKeeperInitialization;
 +import org.apache.accumulo.server.rpc.RpcWrapper;
 +import org.apache.accumulo.server.rpc.ServerAddress;
 +import org.apache.accumulo.server.rpc.TServerUtils;
  import org.apache.accumulo.server.security.AuditedSecurityOperation;
  import org.apache.accumulo.server.security.SecurityOperation;
+ import org.apache.accumulo.server.security.SecurityUtil;
 -import org.apache.accumulo.server.security.SystemCredentials;
  import org.apache.accumulo.server.security.handler.ZKPermHandler;
  import org.apache.accumulo.server.tables.TableManager;
  import org.apache.accumulo.server.tables.TableObserver;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c2f59467/server/master/src/main/java/org/apache/accumulo/master/state/SetGoalState.java
----------------------------------------------------------------------
diff --cc server/master/src/main/java/org/apache/accumulo/master/state/SetGoalState.java
index 2bbbba3,cc2ba70..bd65163
--- a/server/master/src/main/java/org/apache/accumulo/master/state/SetGoalState.java
+++ b/server/master/src/main/java/org/apache/accumulo/master/state/SetGoalState.java
@@@ -16,18 -16,18 +16,18 @@@
   */
  package org.apache.accumulo.master.state;
  
 -import static com.google.common.base.Charsets.UTF_8;
 +import static java.nio.charset.StandardCharsets.UTF_8;
  
  import org.apache.accumulo.core.Constants;
 +import org.apache.accumulo.core.conf.SiteConfiguration;
  import org.apache.accumulo.core.master.thrift.MasterGoalState;
- import org.apache.accumulo.core.security.SecurityUtil;
  import org.apache.accumulo.core.zookeeper.ZooUtil;
  import org.apache.accumulo.fate.zookeeper.ZooUtil.NodeExistsPolicy;
  import org.apache.accumulo.server.Accumulo;
  import org.apache.accumulo.server.client.HdfsZooInstance;
 -import org.apache.accumulo.server.conf.ServerConfiguration;
  import org.apache.accumulo.server.fs.VolumeManager;
  import org.apache.accumulo.server.fs.VolumeManagerImpl;
+ import org.apache.accumulo.server.security.SecurityUtil;
  import org.apache.accumulo.server.zookeeper.ZooReaderWriter;
  
  public class SetGoalState {

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c2f59467/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
----------------------------------------------------------------------
diff --cc server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
index 7ec0191,a90cc61..218bcaf
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java
@@@ -43,12 -43,8 +43,11 @@@ import org.apache.accumulo.core.master.
  import org.apache.accumulo.core.master.thrift.MasterMonitorInfo;
  import org.apache.accumulo.core.master.thrift.TableInfo;
  import org.apache.accumulo.core.master.thrift.TabletServerStatus;
 +import org.apache.accumulo.core.rpc.ThriftUtil;
- import org.apache.accumulo.core.security.SecurityUtil;
  import org.apache.accumulo.core.tabletserver.thrift.ActiveScan;
  import org.apache.accumulo.core.tabletserver.thrift.TabletClientService.Client;
 +import org.apache.accumulo.core.trace.DistributedTrace;
 +import org.apache.accumulo.core.trace.Tracer;
  import org.apache.accumulo.core.util.Daemon;
  import org.apache.accumulo.core.util.LoggingRunnable;
  import org.apache.accumulo.core.util.Pair;
@@@ -86,6 -81,8 +85,7 @@@ import org.apache.accumulo.server.fs.Vo
  import org.apache.accumulo.server.monitor.LogService;
  import org.apache.accumulo.server.problems.ProblemReports;
  import org.apache.accumulo.server.problems.ProblemType;
 -import org.apache.accumulo.server.security.SystemCredentials;
+ import org.apache.accumulo.server.security.SecurityUtil;
  import org.apache.accumulo.server.util.Halt;
  import org.apache.accumulo.server.util.TableInfoUtil;
  import org.apache.accumulo.server.zookeeper.ZooLock;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c2f59467/server/tracer/src/main/java/org/apache/accumulo/tracer/TraceServer.java
----------------------------------------------------------------------
diff --cc server/tracer/src/main/java/org/apache/accumulo/tracer/TraceServer.java
index 1ae3a68,412f551..7e33300
--- a/server/tracer/src/main/java/org/apache/accumulo/tracer/TraceServer.java
+++ b/server/tracer/src/main/java/org/apache/accumulo/tracer/TraceServer.java
@@@ -41,16 -41,17 +41,16 @@@ import org.apache.accumulo.core.conf.Si
  import org.apache.accumulo.core.data.Mutation;
  import org.apache.accumulo.core.data.Value;
  import org.apache.accumulo.core.iterators.user.AgeOffFilter;
- import org.apache.accumulo.core.security.SecurityUtil;
 -import org.apache.accumulo.core.trace.TraceFormatter;
  import org.apache.accumulo.core.util.UtilWaitThread;
 -import org.apache.accumulo.core.zookeeper.ZooUtil;
  import org.apache.accumulo.fate.zookeeper.IZooReaderWriter;
 +import org.apache.accumulo.fate.zookeeper.ZooUtil.NodeExistsPolicy;
  import org.apache.accumulo.server.Accumulo;
  import org.apache.accumulo.server.ServerOpts;
  import org.apache.accumulo.server.client.HdfsZooInstance;
 -import org.apache.accumulo.server.conf.ServerConfiguration;
 +import org.apache.accumulo.server.conf.ServerConfigurationFactory;
  import org.apache.accumulo.server.fs.VolumeManager;
  import org.apache.accumulo.server.fs.VolumeManagerImpl;
+ import org.apache.accumulo.server.security.SecurityUtil;
  import org.apache.accumulo.server.util.time.SimpleTimer;
  import org.apache.accumulo.server.zookeeper.ZooReaderWriter;
  import org.apache.accumulo.start.classloader.vfs.AccumuloVFSClassLoader;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c2f59467/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
----------------------------------------------------------------------
diff --cc server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
index e5067b1,e6fb417..d5c1d2f
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
@@@ -105,11 -115,8 +105,10 @@@ import org.apache.accumulo.core.master.
  import org.apache.accumulo.core.metadata.MetadataTable;
  import org.apache.accumulo.core.metadata.RootTable;
  import org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection;
 -import org.apache.accumulo.core.security.AuthorizationContainer;
 +import org.apache.accumulo.core.replication.ReplicationConstants;
 +import org.apache.accumulo.core.replication.thrift.ReplicationServicer;
 +import org.apache.accumulo.core.rpc.ThriftUtil;
  import org.apache.accumulo.core.security.Authorizations;
- import org.apache.accumulo.core.security.SecurityUtil;
  import org.apache.accumulo.core.security.thrift.TCredentials;
  import org.apache.accumulo.core.tabletserver.log.LogEntry;
  import org.apache.accumulo.core.tabletserver.thrift.ActiveCompaction;
@@@ -166,16 -170,13 +165,17 @@@ import org.apache.accumulo.server.maste
  import org.apache.accumulo.server.master.state.TabletLocationState.BadLocationStateException;
  import org.apache.accumulo.server.master.state.TabletStateStore;
  import org.apache.accumulo.server.master.state.ZooTabletStateStore;
 -import org.apache.accumulo.server.metrics.AbstractMetricsImpl;
 +import org.apache.accumulo.server.master.tableOps.UserCompactionConfig;
 +import org.apache.accumulo.server.metrics.Metrics;
  import org.apache.accumulo.server.problems.ProblemReport;
  import org.apache.accumulo.server.problems.ProblemReports;
 +import org.apache.accumulo.server.replication.ZooKeeperInitialization;
 +import org.apache.accumulo.server.rpc.RpcWrapper;
 +import org.apache.accumulo.server.rpc.ServerAddress;
 +import org.apache.accumulo.server.rpc.TServerUtils;
  import org.apache.accumulo.server.security.AuditedSecurityOperation;
  import org.apache.accumulo.server.security.SecurityOperation;
+ import org.apache.accumulo.server.security.SecurityUtil;
 -import org.apache.accumulo.server.security.SystemCredentials;
  import org.apache.accumulo.server.util.FileSystemMonitor;
  import org.apache.accumulo.server.util.Halt;
  import org.apache.accumulo.server.util.MasterMetadataUtil;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c2f59467/server/tserver/src/main/java/org/apache/accumulo/tserver/log/LocalWALRecovery.java
----------------------------------------------------------------------
diff --cc server/tserver/src/main/java/org/apache/accumulo/tserver/log/LocalWALRecovery.java
index dbdcb53,21138e6..10bc903
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/log/LocalWALRecovery.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/log/LocalWALRecovery.java
@@@ -26,11 -26,10 +26,11 @@@ import java.util.UUID
  import org.apache.accumulo.core.conf.AccumuloConfiguration;
  import org.apache.accumulo.core.conf.Property;
  import org.apache.accumulo.core.conf.SiteConfiguration;
- import org.apache.accumulo.core.security.SecurityUtil;
  import org.apache.accumulo.server.ServerConstants;
 -import org.apache.accumulo.server.conf.ServerConfiguration;
  import org.apache.accumulo.server.fs.VolumeManagerImpl;
+ import org.apache.accumulo.server.security.SecurityUtil;
 +import org.apache.accumulo.tserver.logger.LogFileKey;
 +import org.apache.accumulo.tserver.logger.LogFileValue;
  import org.apache.hadoop.fs.FSDataOutputStream;
  import org.apache.hadoop.fs.FileSystem;
  import org.apache.hadoop.fs.Path;


Mime
View raw message