most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
diff --git a/services/core/java/com/android/server/LocationManagerService.java b/services/core/java/com/android/server/LocationManagerService.java | |
index 7b02a4fb3fd..04006c36e5a 100644 | |
--- a/services/core/java/com/android/server/LocationManagerService.java | |
+++ b/services/core/java/com/android/server/LocationManagerService.java | |
@@ -73,7 +73,6 @@ import android.provider.Settings; | |
import android.text.TextUtils; | |
import android.util.ArrayMap; | |
import android.util.ArraySet; | |
-import android.util.EventLog; | |
import android.util.Log; |
import com.google.common.hash.Hashing; | |
import java.nio.charset.Charset; | |
public class GoogleTokenUtils { | |
public static String calcSapiSidDash(long ts, String sapiSid, String origin) { | |
return String.format("%d_%s", ts, calcHash(ts, sapiSid, origin)); | |
} | |
public static String calcSapiSidDash(String sapiSid, String origin) { |
diff --git a/ifslinux/ufsdjnl.c b/ifslinux/ufsdjnl.c | |
index f3e55bc..bcbeef5 100644 | |
--- a/ifslinux/ufsdjnl.c | |
+++ b/ifslinux/ufsdjnl.c | |
@@ -1403,7 +1403,7 @@ jnl_alloc( | |
BUG_ON( size & ( size-1 ) ); // Must be a power of 2 | |
- flags |= __GFP_REPEAT; | |
+ flags |= __GFP_RETRY_MAYFAIL; |
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java | |
index 10b0012016b..6f53ee436ba 100644 | |
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java | |
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java | |
@@ -210,6 +210,11 @@ private Integer listCorruptFileBlocks(String dir, String baseUrl) | |
allDone = true; | |
break; | |
} | |
+ if (line.startsWith("Access denied for user")) { | |
+ numCorrupt = 0; |
class HyperLogLogStoreUDAF extends UserDefinedAggregateFunction { | |
override def inputSchema = new StructType() | |
.add("stringInput", BinaryType) | |
override def update(buffer: MutableAggregationBuffer, input: Row) = { | |
// This input Row only has a single column storing the input value in String (or other Binary data). | |
// We only update the buffer when the input value is not null. | |
if (!input.isNullAt(0)) { | |
if (buffer.isNullAt(0)) { |
#!/usr/bin/env bash | |
# global parameters | |
g_tmp_folder="ncdc_tmp"; | |
g_output_folder="ncdc_data"; | |
g_remote_host="ftp.ncdc.noaa.gov"; | |
g_remote_path="pub/data/noaa"; | |
<?xml version="1.0"?> | |
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | |
<!-- Put site-specific property overrides in this file. --> | |
<configuration xmlns:xi="http://www.w3.org/2001/XInclude"> | |
<!-- | |
<property> | |
<name>fs.azure.account.key.{WASB_ACCOUNT_NAME}.blob.core.windows.net</name> | |
<value>{WASB_ACCOUNT_KEY}</value> | |
</property> |