-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathApp.config
148 lines (122 loc) · 6.92 KB
/
App.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<!-- Read more about this here:
http://blogs.msdn.com/b/rtandon/archive/2015/08/20/the-new-microsoft-azure-hdinsight-management-sdk.aspx
-->
<appSettings>
<!-- Uri for the Azure Service Mangement -->
<add key="AzureManagementUri" value="https://management.core.windows.net/"/>
<!-- Uri for the Azure Resource Manager API -->
<add key="AzureResourceManagementUri" value="https://management.azure.com/"/>
<!-- The resource provider namespace which is registerd with ARM -->
<add key="AzureResourceProviderNamespace" value="Microsoft.HDInsight"/>
<!-- Azure Active Directory Uri -->
<add key="AzureActiveDirectoryUri" value="https://login.windows.net/"/>
<!-- The redirect URI you set for the app when creating it -->
<add key="AzureActiveDirectoryRedirectUri" value="urn:ietf:wg:oauth:2.0:oob"/>
<!-- The client id (guid from "view endpoints" in the Azure AD portal) -->
<!-- For sake of simplicity and ease, let's use an existing ClientId -->
<add key="AzureActiveDirectoryClientId" value="1950a258-227b-4e31-a9cf-717495945fc2"/>
<!-- The tenant id (guid from "view endpoints" in the Azure AD portal) -->
<!-- Alternatively you can also get it by running "Get-AzureAccount" or "Get-AzureRmContext" in Azure PowerShell -->
<add key="AzureActiveDirectoryTenantId" value="your-tenant-id"/>
<!-- Azure SubscriptionId -->
<add key="SubscriptionId" value="your-subscription-id"/>
<!-- [OPTIONAL] ResourceGroupName - The group names where resources will be managed -->
<!-- If empty, it is generated in a similar fashion the way Azure Portal or Azure PowerShell create today -->
<!-- i.e. hdinsight + base-32 encoded susbscripton id + region -->
<add key="ResourceGroupName" value=""/>
<!--You can get the supported regions for a service before creating cluster by using gsl or gslrdfe command-->
<add key="ClusterLocation" value="West US"/>
<add key="ClusterDnsName" value="your-cluster-name"/>
<!-- Linux clusters require username to always be admin -->
<add key="ClusterUserName" value="admin"/>
<!-- If left empty, a password will be generated for you -->
<add key="ClusterPassword" value=""/>
<add key="ClusterSize" value="4"/>
<!-- Linux clusters require Ssh Username to be different from Cluster Username -->
<add key="SshUserName" value="sshadmin"/>
<!-- RECOMMENDED: Use a SSH Public Key than using SshPassword -->
<add key="SshPublicKeyFilePath" value=""/>
<!-- Specify a SshPassword if you do not plan on using private key -->
<add key="SshPassword" value=""/>
<!-- Default rdp settings - applicable only to Windows clusters -->
<add key="AutoEnableRdp" value="true"/>
<add key="RdpUsername" value="rdpadmin"/>
<!-- You can specify a different RdpPassowrd or the ClusterPassword will be used -->
<add key="RdpPassword" value=""/>
<add key="RdpExpirationInDays" value="90"/>
<!-- Provide your default storage account credentials. If container name is set to 'auto', ClusterDnsName is used as container name -->
<add key="DefaultStorageAccountName" value="storage-account-name.blob.core.windows.net"/>
<add key="DefaultStorageAccountKey" value="storage-account-key"/>
<add key="DefaultStorageAccountContainerName" value="auto"/>
<!-- Provide comma or semi-colon separated list of additional storage accounts and their keys -->
<!--
<add key="AdditionalStorageAccountNames" value="storage-account-name.blob.core.windows.net,storage-account-name.blob.core.windows.net" />
<add key="AdditionalStorageAccountKeys" value="storage-account-key,storage-account-key" />
-->
<add key="HDInsightVersion" value="3.3"/>
<!--Settings below are only needed if you want to use your own SQL Azure Servers/Databases. Deployment service by default creates both of them for you if you don't specify these settings.-->
<!--SqlAzureAsMetastore flag is required to use these settings. Provide connection details for both Hive & Oozie or None. Only one is not accepted by Deployment Service-->
<add key="SqlAzureAsMetastore" value="false"/>
<add key="SqlHiveMetastoreServer" value=""/>
<add key="SqlHiveMetastoreDatabase" value=""/>
<add key="SqlHiveMetastoreUser" value=""/>
<add key="SqlHiveMetastorePassword" value=""/>
<add key="SqlOozieMetastoreServer" value=""/>
<add key="SqlOozieMetastoreDatabase" value=""/>
<add key="SqlOozieMetastoreUser" value=""/>
<add key="SqlOozieMetastorePassword" value=""/>
<add key="ClusterType" value="Storm" />
<add key="OperatingSystemType" value="Linux"/>
<!--For ARM - HDInsight Linux Cluster - Specify the full Resource ID of the Virtual Network-->
<!--Expected format: '/subscriptions/<subsId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/virtualNetworks/<vnetName>'-->
<!--
<add key="VirtualNetworkId" value="/subscriptions/subsId/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/vnetName"/>
-->
<!--Expected format: '/subscriptions/<subsId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/virtualNetworks/<vnetName>/subnets/<subnetName>'-->
<!--
<add key="SubnetName" value="/subscriptions/subsId/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/subnetName"/>
-->
<!-- Node sizes -->
<!-- Values: Medium,Large,ExtraLarge,Standard_D3-Standard_D14 -->
<add key="HeadNodeSize" value="Standard_D4"/>
<add key="WorkerNodeSize" value="Standard_D4"/>
<add key="ZookeeperSize" value="Standard_D3"/>
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<log4net>
<appender name="Console" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d %-5p %C.%method - %m%n" />
</layout>
</appender>
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<file value="HDInsightManagementCLI.log" />
<appendToFile value="true" />
<maximumFileSize value="10MB" />
<maxSizeRollBackups value="3" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d %-5p %C.%M - %m%n" />
</layout>
</appender>
<root>
<level value="DEBUG" />
<appender-ref ref="Console" />
<appender-ref ref="RollingFile" />
</root>
</log4net>
</configuration>