- Big Data Analytics
- Venkat Ankam
- 217字
- 2021-08-20 10:32:20
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Spark's default OFF_HEAP
(experimental) storage is Tachyon."
Most of the examples are executed in Scala, Python and Mahout shells. Any command-line input is written as follows:
[root@myhost ~]# pyspark --master spark://sparkmasterhostname:7077 --total-executor-cores 4
A block of Python code executed in PySpark shell is shown as follows:
>>> myList = ["big", "data", "analytics", "hadoop" , "spark"] >>> myRDD = sc.parallelize(myList) >>> myRDD.getNumPartitions()
A block of code written in Python Application is shown as follows:
from pyspark import SparkConf, SparkContext conf = (SparkConf() .setMaster("spark://masterhostname:7077") .setAppName("My Analytical Application") .set("spark.executor.memory", "2g")) sc = SparkContext(conf = conf)
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "In case of VMWare Player, click on Open a Virtual Machine, and point to the directory where you have extracted the VM."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- C# 7 and .NET Core Cookbook
- Node.js 10實戰
- 自制編譯器
- Building a RESTful Web Service with Spring
- C# 從入門到項目實踐(超值版)
- Python從入門到精通(精粹版)
- INSTANT CakePHP Starter
- 云計算通俗講義(第3版)
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- Python深度學習原理、算法與案例
- ASP.NET程序開發范例寶典
- HTML+CSS+JavaScript編程入門指南(全2冊)
- Android Studio Cookbook
- SQL Server 入門很輕松(微課超值版)
- 遠方:兩位持續創業者的點滴思考