kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danburk...@apache.org
Subject [1/6] incubator-kudu git commit: KUDU-1459 Updated error sentence about SSE4.2 support
Date Tue, 24 May 2016 19:30:29 GMT
Repository: incubator-kudu
Updated Branches:
  refs/heads/master 2dbd24989 -> 7843c9535


KUDU-1459 Updated error sentence about SSE4.2 support

This patch augments the error sentence at initial startup about
the CPU not supporting SSE4.2, with a possible source of the error
 when running inside a VM and a pointer in the Quickstart/Troubleshooting
 section of the online documentation.
(Virtualbox has a pass-through feature for this)

Change-Id: Icb56a23a528906c04644f36da1386b887328f326
Reviewed-on: http://gerrit.cloudera.org:8080/3152
Reviewed-by: Todd Lipcon <todd@apache.org>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/0346d029
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/0346d029
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/0346d029

Branch: refs/heads/master
Commit: 0346d029dfc0b369e6eeec5eb5f530f50d73a011
Parents: 2dbd249
Author: cenku <cenkuyan@gmail.com>
Authored: Fri May 20 15:15:34 2016 +0300
Committer: Todd Lipcon <todd@apache.org>
Committed: Tue May 24 05:40:25 2016 +0000

----------------------------------------------------------------------
 docs/quickstart.adoc  | 4 ++++
 src/kudu/util/init.cc | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/0346d029/docs/quickstart.adoc
----------------------------------------------------------------------
diff --git a/docs/quickstart.adoc b/docs/quickstart.adoc
index 06f7f8f..13539c2 100644
--- a/docs/quickstart.adoc
+++ b/docs/quickstart.adoc
@@ -263,6 +263,10 @@ Value: 192.168.56.100
    contain references to the previous VM's SSH credentials. Remove any references to
    `quickstart.cloudera` from this file.
 
+==== Failing with lack of SSE4.2 support when running inside VirtualBox
+
+* Running Kudu currently requires a CPU that supports SSE4.2 (Nehalem or later for Intel).
To pass through SSE4.2 support into the guest VM, refer to the link:https://www.virtualbox.org/manual/ch09.html#sse412passthrough[VirtualBox
documentation]
+
 == Next Steps
 - link:installation.html[Installing Kudu]
 - link:configuration.html[Configuring Kudu]

http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/0346d029/src/kudu/util/init.cc
----------------------------------------------------------------------
diff --git a/src/kudu/util/init.cc b/src/kudu/util/init.cc
index 9bae7c2..1942798 100644
--- a/src/kudu/util/init.cc
+++ b/src/kudu/util/init.cc
@@ -30,7 +30,8 @@ namespace kudu {
 Status BadCPUStatus(const base::CPU& cpu, const char* instruction_set) {
   return Status::NotSupported(strings::Substitute(
       "The CPU on this system ($0) does not support the $1 instruction "
-      "set which is required for running Kudu.",
+      "set which is required for running Kudu. If you are running inside a VM, "
+      "you may need to enable SSE4.2 pass-through.",
       cpu.cpu_brand(), instruction_set));
 }
 


Mime
View raw message