You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2021/09/19 08:51:13 UTC

[GitHub] [drill-site] luocooong commented on a change in pull request #9: [DOC UPDATE] Translate Tutorial to Chinese 10/15

luocooong commented on a change in pull request #9:
URL: https://github.com/apache/drill-site/pull/9#discussion_r711708188



##########
File path: _docs/zh/tutorials/learn-drill-with-the-mapr-sandbox/010-installing-the-apache-drill-sandbox.md
##########
@@ -58,66 +54,64 @@ VMware Player or VMware Fusion:
               Log in to this virtual machine: Linux/Windows <Alt+F2>, Mac OS X <Options+F5>
 **Note:** The URL provided corresponds to the Web UI in Apache Drill.  

Review comment:
       Not translated. Keep consistent with the next NOTE text. 

##########
File path: _docs/zh/tutorials/learn-drill-with-the-mapr-sandbox/010-installing-the-apache-drill-sandbox.md
##########
@@ -58,66 +54,64 @@ VMware Player or VMware Fusion:
               Log in to this virtual machine: Linux/Windows <Alt+F2>, Mac OS X <Options+F5>
 **Note:** The URL provided corresponds to the Web UI in Apache Drill.  
      
-6. Verify that a DNS entry was created on the host machine for the virtual machine. If not, create the entry.
-    * For Linux and Mac, create the entry in `/etc/hosts`.  
-    * For Windows, create the entry in the `%WINDIR%\system32\drivers\etc\hosts` file.    
+6. 确认是否在主机上为虚拟机添加了 DNS 解析。如果没有,请创建对应解析。
+    * 对于 Linux 和 Mac,在 `/etc/hosts` 文件中添加 DNS 解析。  
+    * 对于 Windows,在 `%WINDIR%\system32\drivers\etc\hosts` 文件中添加 DNS 解析。  
      
-           Example: `127.0.1.1 <vm_hostname>`
+           如: `127.0.1.1 <vm_hostname>`
 
-7. Navigate to [localhost:8047](http://localhost:8047) to experience the Drill Web UI, or log in to the sandbox through the command line.  
+7. 切换至 [localhost:8047](http://localhost:8047) 来体验 Drill Web UI,或者通过命令行登录 MapR Sandbox。  
 
-   * Login using ssh as described in ["Getting to Know the Sandbox"]({{site.baseurl}}/docs/getting-to-know-the-drill-sandbox). When prompted, enter `mapr` as the login name and password.  
-   * Alternatively, access the command line on the VM: Press Alt+F2 on Windows or Option+F5 on Mac.  
+   * 使用 ssh 登录 MapR,请参考 ["了解 Drill Sandbox"]({{site.baseurl}}/docs/getting-to-know-the-drill-sandbox)。出现登录提示时,输入“mapr”作为登录名和密码。  
+   * 也可以通过虚拟机上的命令行工具访问:在 Windows 上按 Alt+F2 或在 Mac 上按 Option+F5 以启动命令行。  
 
-### What's Next
+### 了解更多
 
-After downloading and installing the sandbox, continue with the tutorial by
-[Getting to Know the Drill
-Sandbox]({{ site.baseurl }}/docs/getting-to-know-the-drill-sandbox/).
+下载并安装沙箱后,再继续以下教程
+[了解 Drill Sandbox]({{ site.baseurl }}/docs/getting-to-know-the-drill-sandbox/)。
 
-## Installing the MapR Sandbox with Apache Drill on VirtualBox
+## 在 VirtualBox 上安装集成 Apache Drill 的 MapR Sandbox
 
-The MapR Sandbox for Apache Drill on VirtualBox comes with NAT port forwarding
-enabled, which allows you to access the sandbox using localhost as hostname.
+VirtualBox 上集成 Apache Drill 的 MapR Sandbox 具有 NAT 端口转发
+的功能,允许使用 localhost 作为主机名访问沙箱。
 
-Complete the following steps to install the MapR Sandbox with Apache Drill on
-VirtualBox:
+通过以下步骤在 VirtualBox 上安装集成 Apache Drill 的 MapR Sandbox :
 
-1. Download the MapR Sandbox with Apache Drill file to a directory on your machine:   
+1. 将集成 Apache Drill 的 MapR Sandbox 安装文件下载到本地目录中:   
 <https://www.mapr.com/products/mapr-sandbox-hadoop/download-sandbox-drill>
-2. Open the virtual machine player.
-3. Select **File > Import Appliance**. The Import Virtual Appliance dialog appears.
+2. 启动 virtual machine player。
+3. 选择 **File > Import Appliance**。弹出导入虚拟设备对话框。
 
      ![drill query flow]({{ site.baseurl }}/images/docs/1_vbImport.png)
-4. Navigate to the directory where you downloaded the MapR Sandbox with Apache Drill, select `MapR-Sandbox-For-Apache-Drill-<version>.ova`, and click **Next**. The Appliance Settings window appears.
+4. 切换到保存集成 Apache Drill 的 MapR Sandbox 安装包的目录,选择 `MapR-Sandbox-For-Apache-Drill-<version>.ova`,并点击 **Next**。弹出导入窗口。
 
      ![drill query flow]({{ site.baseurl }}/images/docs/vbApplSettings.png)
-5. Select the check box at the bottom of the screen: **Reinitialize the MAC address of all network cards**, then click **Import**. The Import Appliance imports the sandbox.
-6. When the import completes, select **Settings**. The VirtualBox - Settings dialog appears.
+5. 选中屏幕底部的复选框:**Reinitialize the MAC address of all network cards**,并点击 **Import**。以导入沙箱。
+6. 当导入完成,选择 **Settings**。弹出 The VirtualBox 设置对话框。
 
      ![drill query flow]({{ site.baseurl }}/images/docs/3_vbNetwork.png)
-7. Select **Network**.  
+7. 选择 **Network**.  
 
-    Verify that Adapter 1 is attached to **NAT**. This option should work for most scenarios. However, if you are going to use a wired Ethernet connection, you can select **NAT Network**. If you use ODBC or JDBC on a remote host, select **Bridged Adapter**. 
+   确认适配器 1 是否已连接到 **NAT**。此选项应该适用于大多数情况。但如果使用的是有线以太网连接,可以选择 **NAT Network**。如果在远程主机上使用 ODBC 或 JDBC,选择 **Bridged Adapter**。
 
      ![drill query flow]({{ site.baseurl }}/images/docs/4_vbMaprSetting.png)
-8. Click **OK** to continue.
+8. 点击 **OK** 以继续。
 
-9. Click **Start**. It takes a few minutes for the MapR services to start. After the MapR services start and installation completes, a screen that displays the following message appears:  
+9. 点击 **Start**。MapR 服务需要几分钟来启动。当 MapR 服务启动并安装完成后,屏幕会提示以下消息:  
 
               MapR-Sandbox-For-Apache-Drill-<version> installation finished successfully.
               Please go to http://127.0.0.1:8047 to begin your experience.
               Open a browser on your host machine and enter the URL in the browser's address field.
               You can access the host via SSH by ssh mapr@localhost -p 2222
               Log in to this virtual machine: Linux/Windows <Alt+F2>, Mac OS X <Options+F5>  
 
-       **Note:** The URL provided corresponds to the Web UI in Apache Drill.        
+       **注意:** 提供的 URL 对应于 Apache Drill 中的 Web UI。      
 
-10. Navigate to [localhost:8047](http://localhost:8047) to experience the Drill Web UI, or log into the sandbox through the command line.  
-       * Login using ssh as described in ["Getting to Know the Sandbox"]({{site.baseurl}}/docs/getting-to-know-the-drill-sandbox). When prompted, enter `mapr` as the login name and password.  
-       * Alternatively, access the command line on the VM: Press Alt+F2 on Windows or Option+F5 on Mac.   
+   1. 切换到 [localhost:8047](http://localhost:8047) 来体验 Drill web UI,或者通过命令行登录 MapR Sandbox。  

Review comment:
       Should be sequence 10.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@drill.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org