index
int64
0
0
repo_id
stringlengths
26
205
file_path
stringlengths
51
246
content
stringlengths
8
433k
__index_level_0__
int64
0
10k
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/deploy/ConfigurationKeys.java
package com.airbnb.reair.incremental.deploy; /** * Keys used in the configuration for deploying the replication server. */ public class ConfigurationKeys { // JDBC URL to the DB containing the audit log table public static final String AUDIT_LOG_JDBC_URL = "airbnb.reair.audit_log.db.jdbc_url"; // User for the ...
9,500
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/deploy/ReplicationLauncher.java
package com.airbnb.reair.incremental.deploy; import com.airbnb.reair.db.DbConnectionFactory; import com.airbnb.reair.db.DbConnectionWatchdog; import com.airbnb.reair.db.DbKeyValueStore; import com.airbnb.reair.db.StaticDbConnectionFactory; import com.airbnb.reair.incremental.ReplicationServer; import com.airbnb.reair....
9,501
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/deploy/HiveCopy.java
package com.airbnb.reair.incremental.deploy; import com.airbnb.reair.common.ArgumentException; import com.airbnb.reair.common.CliUtils; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.common.ThriftHiveMetastoreClient; import com.airbnb.reair.incremental.DirectoryCopier; import com.airbnb.reair.i...
9,502
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/MetadataAction.java
package com.airbnb.reair.incremental.primitives; /** * Enumeration to help simplify logic for running metadata actions in the replication tasks. */ public enum MetadataAction { // No operation NOOP, // Create new metadata CREATE, // Alter existing metadata ALTER }
9,503
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/DropPartitionTask.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.common.HiveParameterKeys; import com.airbnb.reair.incremental.RunInfo; import com.airbnb.rea...
9,504
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/CopyCompleteTableTask.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.DistCpException; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.common.HiveUtils; import com.airbnb.reair.in...
9,505
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/CopyPartitionJob.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.DistCpException; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.incremental.ReplicationUtils; import com.airbnb.reair.incremental.RunInfo; import com.airbnb.reair.incremental.configuration.ConfigurationExcep...
9,506
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/CopyPartitionTask.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.DistCpException; import com.airbnb.reair.common.FsUtils; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.incr...
9,507
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/CopyPartitionsCounter.java
package com.airbnb.reair.incremental.primitives; /** * Counts the number of partitions copied by a replication task. */ public class CopyPartitionsCounter { long completionCount = 0; long bytesCopiedCount = 0; synchronized void incrementCompletionCount() { completionCount++; } synchronized long getCo...
9,508
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/ReplicationTask.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.DistCpException; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.incremental.RunInfo; import com.airbnb.reair.incremental.configuration.ConfigurationException; import com.airbnb.reair.multiprocessing.LockSet;...
9,509
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/RenameTableTask.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.DistCpException; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.incremental.DirectoryCopier; import com.airb...
9,510
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/TaskEstimate.java
package com.airbnb.reair.incremental.primitives; import com.google.common.base.MoreObjects; import org.apache.hadoop.fs.Path; import java.util.Optional; /** * Stores estimates about what's required for a task to replicate a Hive object. */ public class TaskEstimate { public enum TaskType { COPY_UNPARTITION...
9,511
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/RenamePartitionTask.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.DistCpException; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.common.HiveUtils; import com.airbnb.reair.in...
9,512
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/TaskEstimator.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.common.HiveUtils; import com.airbnb.reair.incremental.DirectoryCopier; import com.airbnb.rea...
9,513
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/CopyUnpartitionedTableTask.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.DistCpException; import com.airbnb.reair.common.FsUtils; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.comm...
9,514
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/CopyPartitionsTask.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.DistCpException; import com.airbnb.reair.common.FsUtils; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.comm...
9,515
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/DropTableTask.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.common.HiveParameterKeys; import com.airbnb.reair.incremental.RunInfo; import com.airbnb.re...
9,516
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/primitives/CopyPartitionedTableTask.java
package com.airbnb.reair.incremental.primitives; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.common.HiveUtils; import com.airbnb.reair.incremental.ReplicationUtils; import com.airbnb.re...
9,517
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/db/PersistedJobInfo.java
package com.airbnb.reair.incremental.db; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.incremental.ReplicationOperation; import com.airbnb.reair.incremental.ReplicationStatus; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.fs.Path...
9,518
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/db/PersistedJobInfoStore.java
package com.airbnb.reair.incremental.db; import com.google.common.base.Function; import com.google.common.collect.Lists; import com.airbnb.reair.db.DbConnectionFactory; import com.airbnb.reair.incremental.ReplicationOperation; import com.airbnb.reair.incremental.ReplicationStatus; import com.airbnb.reair.incremental....
9,519
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/db/DbConstants.java
package com.airbnb.reair.incremental.db; /** * Constants used for DB operations. */ public class DbConstants { // Default number of retries to run when a DB operation fails public static final int DEFAULT_NUM_RETRIES = 9; // When sleeping between retries, use this base number when calculating the exponential d...
9,520
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/filter/RemoveThriftEntriesReplicationFilter.java
package com.airbnb.reair.incremental.filter; import com.airbnb.reair.common.NamedPartition; import com.airbnb.reair.incremental.auditlog.AuditLogEntry; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.api.Table; /** * To filter out Thrift events from the audit log. */ public clas...
9,521
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/filter/PassThoughReplicationFilter.java
package com.airbnb.reair.incremental.filter; import com.airbnb.reair.common.NamedPartition; import com.airbnb.reair.incremental.auditlog.AuditLogEntry; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.api.Table; /** * Filter that passes everything. */ public class PassThoughRepl...
9,522
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/filter/ThriftLogReplicationFilter.java
package com.airbnb.reair.incremental.filter; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.common.NamedPartition; import com.airbnb.reair.hive.hooks.HiveOperation; import com.airbnb.reair.incremental.auditlog.AuditLogEntry; import org.apache.commons.logging.Log; import org.apache.commons.logg...
9,523
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/filter/RegexReplicationFilter.java
package com.airbnb.reair.incremental.filter; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.common.NamedPartition; import com.airbnb.reair.incremental.auditlog.AuditLogEntry; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Conf...
9,524
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/filter/ReplicationFilter.java
package com.airbnb.reair.incremental.filter; import com.airbnb.reair.common.NamedPartition; import com.airbnb.reair.incremental.auditlog.AuditLogEntry; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.api.Table; /** * Interface for filtering out objects to replicate. */ public i...
9,525
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/auditlog/AuditLogReader.java
package com.airbnb.reair.incremental.auditlog; import com.airbnb.reair.common.Container; import com.airbnb.reair.common.NamedPartition; import com.airbnb.reair.db.DbConnectionFactory; import com.airbnb.reair.hive.hooks.HiveOperation; import com.airbnb.reair.incremental.MetadataException; import com.airbnb.reair.increm...
9,526
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/auditlog/AuditLogEntryException.java
package com.airbnb.reair.incremental.auditlog; public class AuditLogEntryException extends Exception { public AuditLogEntryException() { super(); } public AuditLogEntryException(String message) { super(message); } public AuditLogEntryException(String message, Throwable cause) { super(message, c...
9,527
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/auditlog/MetricNames.java
package com.airbnb.reair.incremental.auditlog; /** * Contains string names of metrics that are reported to statsd. */ public class MetricNames { // Count of tasks by status in ReplicationCounters public static final String REPLICATION_STATUS_COUNT = "replication.%s"; // Count of jobs above age thresholds in Re...
9,528
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental
Create_ds/reair/main/src/main/java/com/airbnb/reair/incremental/auditlog/AuditLogEntry.java
package com.airbnb.reair.incremental.auditlog; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.common.NamedPartition; import com.airbnb.reair.hive.hooks.HiveOperation; import org.apache.hadoop.hive.metastore.api.Table; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Lis...
9,529
0
Create_ds/reair/main/src/main/java/com/airbnb/reair
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/BatchUtils.java
package com.airbnb.reair.batch; import com.airbnb.reair.common.FsUtils; import com.airbnb.reair.incremental.deploy.ConfigurationKeys; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FSDataInputStream; import ...
9,530
0
Create_ds/reair/main/src/main/java/com/airbnb/reair
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/SimpleFileStatus.java
package com.airbnb.reair.batch; import com.google.common.base.MoreObjects; import org.apache.hadoop.fs.Path; import java.net.URI; public class SimpleFileStatus { private final long fileSize; private final long modificationTime; private final Path path; /** * Class to track file size, modification time, ...
9,531
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/template/VelocityUtils.java
package com.airbnb.reair.batch.template; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity.exception.MethodInvocationException; import org.apache.velocity.exception.ParseErrorException; import org.apache.velocity.exception.ResourceNotFoundException; i...
9,532
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/template/TemplateRenderException.java
package com.airbnb.reair.batch.template; /** * Exception thrown when there is an error rendering a template using Velocity. */ public class TemplateRenderException extends Exception { public TemplateRenderException(String message) { super(message); } public TemplateRenderException(String message, Throwabl...
9,533
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hdfs/ReplicationJob.java
package com.airbnb.reair.batch.hdfs; import com.google.common.base.Function; import com.google.common.base.Joiner; import com.google.common.base.Predicate; import com.google.common.base.Predicates; import com.google.common.collect.Iterables; import com.google.common.collect.LinkedListMultimap; import com.google.common...
9,534
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hdfs/DirRecordReader.java
package com.airbnb.reair.batch.hdfs; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.InputSplit; import org.apache.hadoop.mapreduce.RecordReader; import org.apache.hadoop.mapreduce.TaskAttemptContext; import java.io.IOException; import java.util.List; /** * Record Reader that returns paths to d...
9,535
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hdfs/DirScanInputFormat.java
package com.airbnb.reair.batch.hdfs; import com.google.common.base.Function; import com.google.common.collect.Lists; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.Fil...
9,536
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hdfs/DirInputSplit.java
package com.airbnb.reair.batch.hdfs; import org.apache.hadoop.io.Text; import org.apache.hadoop.io.Writable; import org.apache.hadoop.mapreduce.InputSplit; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; /** * Splits containing a path to a directory. */ public class DirInputSplit e...
9,537
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hdfs/ListDirInputSplit.java
package com.airbnb.reair.batch.hdfs; import com.google.common.base.Joiner; import org.apache.hadoop.io.Writable; import org.apache.hadoop.mapreduce.InputSplit; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.ArrayList; import java.util.List; /** * Splits containing...
9,538
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hive/TableCompareWorker.java
package com.airbnb.reair.batch.hive; import com.google.common.base.Function; import com.google.common.base.Predicate; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.c...
9,539
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hive/MetastoreReplicationJob.java
package com.airbnb.reair.batch.hive; import com.google.common.collect.ImmutableList; import com.airbnb.reair.batch.template.TemplateRenderException; import com.airbnb.reair.batch.template.VelocityUtils; import com.airbnb.reair.common.FsUtils; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.re...
9,540
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hive/HiveTablesInputSplit.java
package com.airbnb.reair.batch.hive; import com.google.common.base.Joiner; import org.apache.hadoop.io.Text; import org.apache.hadoop.io.Writable; import org.apache.hadoop.mapreduce.InputSplit; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.ArrayList; import java.ut...
9,541
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hive/Stage3CommitChangeMapper.java
package com.airbnb.reair.batch.hive; import com.airbnb.reair.common.DistCpException; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.incremental.DirectoryCopier; import com.airbnb.reair.inc...
9,542
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hive/MetastoreScanInputFormat.java
package com.airbnb.reair.batch.hive; import com.google.common.base.Function; import com.google.common.collect.Lists; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.incremental.configuration.Cluster; import com.airbnb.reair.incremental...
9,543
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hive/TableRecordReader.java
package com.airbnb.reair.batch.hive; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.InputSplit; import org.apache.hadoop.mapreduce.RecordReader; import org.apache.hadoop.mapreduce.TaskAttemptContext; import java.io.IOException; import java.util.List; /** * Record reader that returns DB / table...
9,544
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hive/Stage2DirectoryCopyReducer.java
package com.airbnb.reair.batch.hive; import com.airbnb.reair.batch.BatchUtils; import com.airbnb.reair.batch.SimpleFileStatus; import com.airbnb.reair.incremental.ReplicationUtils; import com.airbnb.reair.incremental.configuration.Cluster; import com.airbnb.reair.incremental.configuration.ClusterFactory; import com.ai...
9,545
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hive/Stage2DirectoryCopyMapper.java
package com.airbnb.reair.batch.hive; import static com.airbnb.reair.batch.hive.MetastoreReplicationJob.deseralizeJobResult; import com.google.common.hash.Hashing; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.incremental.ReplicationUtils; import com.airbnb.reair.incremental.primitives.TaskEs...
9,546
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hive/MetastoreReplUtils.java
package com.airbnb.reair.batch.hive; import com.airbnb.reair.incremental.configuration.ClusterFactory; import com.airbnb.reair.incremental.configuration.ConfiguredClusterFactory; import com.airbnb.reair.incremental.deploy.ConfigurationKeys; import org.apache.hadoop.conf.Configuration; /** * Utilities class for meta...
9,547
0
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch
Create_ds/reair/main/src/main/java/com/airbnb/reair/batch/hive/Stage1PartitionCompareReducer.java
package com.airbnb.reair.batch.hive; import com.airbnb.reair.common.HiveMetastoreClient; import com.airbnb.reair.common.HiveMetastoreException; import com.airbnb.reair.common.HiveObjectSpec; import com.airbnb.reair.incremental.DirectoryCopier; import com.airbnb.reair.incremental.configuration.Cluster; import com.airbn...
9,548
0
Create_ds/aws-for-fluent-bit/troubleshooting/tools/log4j-tcp-app/src/test/java/com/mycompany
Create_ds/aws-for-fluent-bit/troubleshooting/tools/log4j-tcp-app/src/test/java/com/mycompany/app/AppTest.java
package com.mycompany.app; import static org.junit.Assert.assertTrue; import org.junit.Test; /** * Unit test for simple App. */ public class AppTest { /** * Rigorous Test :-) */ @Test public void shouldAnswerWithTrue() { assertTrue( true ); } }
9,549
0
Create_ds/aws-for-fluent-bit/troubleshooting/tools/log4j-tcp-app/src/main/java/com/mycompany
Create_ds/aws-for-fluent-bit/troubleshooting/tools/log4j-tcp-app/src/main/java/com/mycompany/app/MultithreadApp.java
package com.mycompany.app; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.util.concurrent.*; public class MultithreadApp { private static final Logger logger = LogManager.getLogger(MultithreadApp.class); private static int LOGGER_THREADS = 20; private stat...
9,550
0
Create_ds/aws-for-fluent-bit/troubleshooting/tools/log4j-tcp-app/src/main/java/com/mycompany
Create_ds/aws-for-fluent-bit/troubleshooting/tools/log4j-tcp-app/src/main/java/com/mycompany/app/App.java
package com.mycompany.app; //import org.apache.log4j.Logger; // //import org.slf4j.Logger; //import org.slf4j.LoggerFactory; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.util.*; /** * Hello world! * */ public class App { private static final Logger logger = ...
9,551
0
Create_ds/aws-for-fluent-bit/load_tests/logger/tcp_logger/src/test/java/com/mycompany
Create_ds/aws-for-fluent-bit/load_tests/logger/tcp_logger/src/test/java/com/mycompany/app/AppTest.java
package com.mycompany.app; import static org.junit.Assert.assertTrue; import org.junit.Test; /** * Unit test for simple App. */ public class AppTest { /** * Rigorous Test :-) */ @Test public void shouldAnswerWithTrue() { assertTrue( true ); } }
9,552
0
Create_ds/aws-for-fluent-bit/load_tests/logger/tcp_logger/src/main/java/com/mycompany
Create_ds/aws-for-fluent-bit/load_tests/logger/tcp_logger/src/main/java/com/mycompany/app/App.java
package com.mycompany.app; import org.apache.logging.log4j.LogManager; import java.util.concurrent.TimeUnit; import org.apache.logging.log4j.Logger; public class App { private static final Logger logger; private static int TIME; private static int ITERATION; private static String ONE_KB_TEXT; ...
9,553
0
Create_ds/spark/launcher/src/test/java/org/apache/spark
Create_ds/spark/launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java
/* * 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 ...
9,554
0
Create_ds/spark/launcher/src/test/java/org/apache/spark
Create_ds/spark/launcher/src/test/java/org/apache/spark/launcher/InProcessLauncherSuite.java
/* * 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 ...
9,555
0
Create_ds/spark/launcher/src/test/java/org/apache/spark
Create_ds/spark/launcher/src/test/java/org/apache/spark/launcher/BaseSuite.java
/* * 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 ...
9,556
0
Create_ds/spark/launcher/src/test/java/org/apache/spark
Create_ds/spark/launcher/src/test/java/org/apache/spark/launcher/ChildProcAppHandleSuite.java
/* * 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 ...
9,557
0
Create_ds/spark/launcher/src/test/java/org/apache/spark
Create_ds/spark/launcher/src/test/java/org/apache/spark/launcher/SparkSubmitOptionParserSuite.java
/* * 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 ...
9,558
0
Create_ds/spark/launcher/src/test/java/org/apache/spark
Create_ds/spark/launcher/src/test/java/org/apache/spark/launcher/CommandBuilderUtilsSuite.java
/* * 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 ...
9,559
0
Create_ds/spark/launcher/src/test/java/org/apache/spark
Create_ds/spark/launcher/src/test/java/org/apache/spark/launcher/LauncherServerSuite.java
/* * 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 ...
9,560
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/SparkLauncher.java
/* * 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 ...
9,561
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/SparkClassCommandBuilder.java
/* * 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 ...
9,562
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/InProcessLauncher.java
/* * 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 ...
9,563
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/AbstractCommandBuilder.java
/* * 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 ...
9,564
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/LauncherProtocol.java
/* * 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 ...
9,565
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/NamedThreadFactory.java
/* * 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 ...
9,566
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/LauncherServer.java
/* * 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 ...
9,567
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/SparkSubmitOptionParser.java
/* * 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 ...
9,568
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/AbstractAppHandle.java
/* * 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 ...
9,569
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/FilteredObjectInputStream.java
/* * 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 ...
9,570
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/LauncherConnection.java
/* * 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 ...
9,571
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/InProcessAppHandle.java
/* * 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 ...
9,572
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/OutputRedirector.java
/* * 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 ...
9,573
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/AbstractLauncher.java
/* * 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 ...
9,574
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/SparkSubmitCommandBuilder.java
/* * 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 ...
9,575
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/Main.java
/* * 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 ...
9,576
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/CommandBuilderUtils.java
/* * 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 ...
9,577
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/ChildProcAppHandle.java
/* * 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 ...
9,578
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/package-info.java
/* * 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 ...
9,579
0
Create_ds/spark/launcher/src/main/java/org/apache/spark
Create_ds/spark/launcher/src/main/java/org/apache/spark/launcher/SparkAppHandle.java
/* * 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 ...
9,580
0
Create_ds/spark/core/src/test/java/test/org/apache
Create_ds/spark/core/src/test/java/test/org/apache/spark/Java8RDDAPISuite.java
/* * 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 ...
9,581
0
Create_ds/spark/core/src/test/java/test/org/apache
Create_ds/spark/core/src/test/java/test/org/apache/spark/JavaSparkContextSuite.java
/* * 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 ...
9,582
0
Create_ds/spark/core/src/test/java/test/org/apache
Create_ds/spark/core/src/test/java/test/org/apache/spark/JavaAPISuite.java
/* * 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 ...
9,583
0
Create_ds/spark/core/src/test/java/test/org/apache
Create_ds/spark/core/src/test/java/test/org/apache/spark/JavaTaskContextCompileCheck.java
/* * 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 ...
9,584
0
Create_ds/spark/core/src/test/java/org/apache
Create_ds/spark/core/src/test/java/org/apache/spark/JavaJdbcRDDSuite.java
/* * 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 ...
9,585
0
Create_ds/spark/core/src/test/java/org/apache
Create_ds/spark/core/src/test/java/org/apache/spark/ExecutorPluginSuite.java
/* * 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 ...
9,586
0
Create_ds/spark/core/src/test/java/org/apache/spark
Create_ds/spark/core/src/test/java/org/apache/spark/launcher/SparkLauncherSuite.java
/* * 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 ...
9,587
0
Create_ds/spark/core/src/test/java/org/apache/spark/shuffle
Create_ds/spark/core/src/test/java/org/apache/spark/shuffle/sort/ShuffleInMemoryRadixSorterSuite.java
/* * 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 ...
9,588
0
Create_ds/spark/core/src/test/java/org/apache/spark/shuffle
Create_ds/spark/core/src/test/java/org/apache/spark/shuffle/sort/PackedRecordPointerSuite.java
/* * 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 ...
9,589
0
Create_ds/spark/core/src/test/java/org/apache/spark/shuffle
Create_ds/spark/core/src/test/java/org/apache/spark/shuffle/sort/UnsafeShuffleWriterSuite.java
/* * 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 ...
9,590
0
Create_ds/spark/core/src/test/java/org/apache/spark/shuffle
Create_ds/spark/core/src/test/java/org/apache/spark/shuffle/sort/ShuffleInMemorySorterSuite.java
/* * 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 ...
9,591
0
Create_ds/spark/core/src/test/java/org/apache/spark
Create_ds/spark/core/src/test/java/org/apache/spark/serializer/TestJavaSerializerImpl.java
/* * 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 ...
9,592
0
Create_ds/spark/core/src/test/java/org/apache/spark
Create_ds/spark/core/src/test/java/org/apache/spark/memory/TestMemoryConsumer.java
/* * 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 ...
9,593
0
Create_ds/spark/core/src/test/java/org/apache/spark
Create_ds/spark/core/src/test/java/org/apache/spark/memory/TaskMemoryManagerSuite.java
/* * 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 ...
9,594
0
Create_ds/spark/core/src/test/java/org/apache/spark/util
Create_ds/spark/core/src/test/java/org/apache/spark/util/collection/TestTimSort.java
/** * Copyright 2015 Stijn de Gouw * * Licensed 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...
9,595
0
Create_ds/spark/core/src/test/java/org/apache/spark/util/collection/unsafe
Create_ds/spark/core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterRadixSortSuite.java
/* * 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 ...
9,596
0
Create_ds/spark/core/src/test/java/org/apache/spark/util/collection/unsafe
Create_ds/spark/core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeExternalSorterSuite.java
/* * 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 ...
9,597
0
Create_ds/spark/core/src/test/java/org/apache/spark/util/collection/unsafe
Create_ds/spark/core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeInMemorySorterRadixSortSuite.java
/* * 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 ...
9,598
0
Create_ds/spark/core/src/test/java/org/apache/spark/util/collection/unsafe
Create_ds/spark/core/src/test/java/org/apache/spark/util/collection/unsafe/sort/UnsafeInMemorySorterSuite.java
/* * 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 ...
9,599