Skip to content

Commit

Permalink
Add "Covered by NDA" to header comments
Browse files Browse the repository at this point in the history
This was suggested by our legal counsel in preparation for distributing
early builds of Kudu to partners under NDA.

Note that I did not add a copyright/NDA notice to most of the gutil files
-- only those where we have a Cloudera copyright notice.

I also didn't change cmake_modules/ which we've taken from other sources.

I also fixed two lint errors in kudu-lint.cc which popped up when
I modified that file.

Change-Id: Ie7a4329ef84b80e46914e0143d5e621d6e758482
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4995
Tested-by: jenkins
Reviewed-by: Jean-Daniel Cryans <[email protected]>
  • Loading branch information
toddlipcon committed Oct 30, 2014
1 parent e280f6b commit 3d5f74c
Show file tree
Hide file tree
Showing 893 changed files with 966 additions and 17 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.

cmake_minimum_required(VERSION 2.8)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake_modules")
Expand Down
3 changes: 3 additions & 0 deletions CONTRIBUTING.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Copyright (c) 2014, Cloudera, inc.
Confidential Cloudera Information: Covered by NDA.

Code style
-----------------------------

Expand Down
3 changes: 2 additions & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Copyright (c) 2013, Cloudera, inc.
Copyright (c) 2014, Cloudera, inc.
All rights reserved.
Confidential Cloudera Information: Covered by NDA.

--------------------------------------------------------------------------------

Expand Down
3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Copyright (c) 2014, Cloudera, inc.
Confidential Cloudera Information: Covered by NDA.

System Requirements
------------------------------------------------------------
The following dependencies are necessary to build kudu:
Expand Down
3 changes: 2 additions & 1 deletion build-support/get-upstream-commit.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
# Copyright (c) 2013, Cloudera, inc.
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#
# Script which tries to determine the most recent git hash in the current
# branch which was checked in by gerrit. This commit hash is printed to
Expand Down
3 changes: 2 additions & 1 deletion build-support/jenkins/build-and-test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
# Copyright (c) 2013, Cloudera, inc.
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#
# This script is invoked from the Jenkins builds to build Kudu
# and run all the unit tests.
Expand Down
1 change: 1 addition & 0 deletions build-support/jenkins/build-master-ts.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#
# This script is invoked from the Jenkins builds to build the kudu-master
# and kudu-tablet_server binaries with the release build type.
Expand Down
1 change: 1 addition & 0 deletions build-support/jenkins/cleanup-zombie-jenkins.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#
# Script which, when run from Jenkins, will hunt and kill any other jenkins
# processes running on the same machine from a different build.
Expand Down
1 change: 1 addition & 0 deletions build-support/jenkins/determine-flaky-tests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#
# Script to look at recent Jenkins history and find any unit tests which have
# recently failed. Outputs a list of these tests on stdout.
Expand Down
1 change: 1 addition & 0 deletions build-support/jenkins/post-build-clean.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash -x
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#
# Script which runs on Jenkins slaves after the build/test to clean up
# disk space used by build artifacts. Our build tends to "make clean"
Expand Down
2 changes: 2 additions & 0 deletions build-support/lint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.

ME=$(dirname $BASH_SOURCE)
ROOT=$(readlink -f $ME/..)
Expand Down
3 changes: 2 additions & 1 deletion build-support/report-test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#
# Reports a test run to the central test server, which records
# the results in a database. This is what drives our "flaky test dashboard".
Expand Down Expand Up @@ -75,4 +76,4 @@ curl -s \
-F "status=$STATUS" \
-F "revision=$REVISION" \
-F "build_config=$BUILD_CONFIG" \
http://$TEST_RESULT_SERVER/add_result
http://$TEST_RESULT_SERVER/add_result
3 changes: 2 additions & 1 deletion build-support/run-test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
# Copyright (c) 2013, Cloudera, inc.
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#
# Script which wraps running a test and redirects its output to a
# test log directory.
Expand Down
2 changes: 2 additions & 0 deletions build-support/sanitize-blacklist.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (c) 2013, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#
# Blacklist of things not to run the sanitizer on.

# The safe math routines are expected to overflow, but anyone using them
Expand Down
2 changes: 2 additions & 0 deletions build-support/stacktrace_addr2line.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/perl
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#######################################################################
# This script will convert a stack trace with addresses:
# @ 0x5fb015 kudu::master::Master::Init()
Expand Down
1 change: 1 addition & 0 deletions build-support/test_result_server.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
#
# Simple HTTP server which receives test results from the build slaves and
# stores them in a MySQL database. The test logs are also stored in an S3 bucket.
Expand Down
3 changes: 2 additions & 1 deletion build-support/tools/kudu-lint/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2013, Cloudera, inc.
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.

cmake_minimum_required(VERSION 2.8)

Expand Down
3 changes: 3 additions & 0 deletions build-support/tools/kudu-lint/README
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Copyright (c) 2014, Cloudera, inc.
Confidential Cloudera Information: Covered by NDA.

Overview
===============
kudu-lint is a Clang-based tool for looking for kudu-specific coding errors.
Expand Down
2 changes: 2 additions & 0 deletions build-support/tools/kudu-lint/cmake_modules/FindClang.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
# Find Clang
#
# It defines the following variables
Expand Down
2 changes: 2 additions & 0 deletions build-support/tools/kudu-lint/cmake_modules/FindLLVM.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
# Find LLVM
#
# It defines the following variables
Expand Down
11 changes: 6 additions & 5 deletions build-support/tools/kudu-lint/kudu-lint.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
//
// Based somewhat on the example from
// Confidential Cloudera Information: Covered by NDA.

#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTTypeTraits.h"
Expand Down Expand Up @@ -143,7 +142,9 @@ class ErrorPrinter : public MatchFinder::MatchCallback {

// Recurse up the tree.
while (true) {
if (const ClassTemplateSpecializationDecl* D = dyn_node.get<ClassTemplateSpecializationDecl>()) {
const ClassTemplateSpecializationDecl* D =
dyn_node.get<ClassTemplateSpecializationDecl>();
if (D) {
*loc = D->getPointOfInstantiation();
return true;
}
Expand All @@ -168,8 +169,8 @@ class InsertAdjuster: public clang::tooling::ArgumentsAdjuster {
public:
enum Position { BEGIN, END };

InsertAdjuster(const CommandLineArguments &extra_, Position pos)
: extra_(extra_), pos_(pos) {
InsertAdjuster(const CommandLineArguments &extra, Position pos)
: extra_(extra), pos_(pos) {
}

InsertAdjuster(const char *extra_, Position pos)
Expand Down
2 changes: 2 additions & 0 deletions build-support/tsan-suppressions.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
race:_dl_deallocate_tls
race:kudu::tablet::ScopedRowLock::Release

Expand Down
2 changes: 2 additions & 0 deletions java/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2014, Cloudera, inc.
# Confidential Cloudera Information: Covered by NDA.
# Eclipse files
.classpath
.project
Expand Down
3 changes: 3 additions & 0 deletions java/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Copyright (c) 2014, Cloudera, inc.
Confidential Cloudera Information: Covered by NDA.

Asynchronous Native Java Client for Kudu

System Requirements
Expand Down
1 change: 1 addition & 0 deletions java/kudu-client-benchmark/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu;

import com.stumbleupon.async.Callback;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Copyright (c) 2014 Cloudera, Inc.
# Confidential Cloudera Information: Covered by NDA.

log4j.rootLogger = INFO, out
log4j.appender.out = org.apache.log4j.ConsoleAppender
log4j.appender.out.layout = org.apache.log4j.PatternLayout
log4j.appender.out.layout.ConversionPattern = %d (%t) [%p - %l] %m%n

log4j.logger.kudu = INFO
log4j.logger.kudu = INFO
3 changes: 2 additions & 1 deletion java/kudu-client/dev-support/build-proto.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
##
#
# Portions copyright (c) 2014 Cloudera, Inc.
# Confidential Cloudera Information: Covered by NDA.
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
Expand Down
1 change: 1 addition & 0 deletions java/kudu-client/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
Expand Down
1 change: 1 addition & 0 deletions java/kudu-client/src/main/java/kudu/ColumnSchema.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu;

/**
Expand Down
1 change: 1 addition & 0 deletions java/kudu-client/src/main/java/kudu/Schema.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu;

import kudu.rpc.Bytes;
Expand Down
1 change: 1 addition & 0 deletions java/kudu-client/src/main/java/kudu/Type.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu;

import com.google.common.primitives.Ints;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import kudu.ColumnSchema;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import com.google.protobuf.Message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

public class AlterTableResponse extends KuduRpcResponse {
Expand Down
1 change: 1 addition & 0 deletions java/kudu-client/src/main/java/kudu/rpc/Batch.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import com.google.protobuf.Message;
Expand Down
1 change: 1 addition & 0 deletions java/kudu-client/src/main/java/kudu/rpc/Bytes.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2010-2012 The Async HBase Authors. All rights reserved.
* Portions copyright (c) 2014 Cloudera, Inc.
* Confidential Cloudera Information: Covered by NDA.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import com.google.protobuf.ZeroCopyLiteralByteString;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import kudu.ColumnSchema;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2010-2012 The Async HBase Authors. All rights reserved.
* Portions copyright (c) 2014 Cloudera, Inc.
* Confidential Cloudera Information: Covered by NDA.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import com.google.protobuf.ZeroCopyLiteralByteString;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import com.google.protobuf.Message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

public class CreateTableResponse extends KuduRpcResponse {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import com.google.common.base.Stopwatch;
Expand Down
1 change: 1 addition & 0 deletions java/kudu-client/src/main/java/kudu/rpc/Delete.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import kudu.ColumnSchema;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import com.google.protobuf.Message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

public class DeleteTableResponse extends KuduRpcResponse {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2013, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import kudu.Common;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import com.google.protobuf.Message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import com.google.protobuf.Message;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2014, Cloudera, inc.
// Confidential Cloudera Information: Covered by NDA.
package kudu.rpc;

import kudu.Schema;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2010-2012 The Async HBase Authors. All rights reserved.
* Portions copyright (c) 2014 Cloudera, Inc.
* Confidential Cloudera Information: Covered by NDA.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
Expand Down
1 change: 1 addition & 0 deletions java/kudu-client/src/main/java/kudu/rpc/IPCUtil.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Portions copyright (c) 2014 Cloudera, Inc.
* Confidential Cloudera Information: Covered by NDA.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand Down
Loading

0 comments on commit 3d5f74c

Please sign in to comment.