Skip to content

Commit f8a992c

Browse files
Merge branch 'master' of [email protected]:swakrish/incubator-zeppelin.git
2 parents 270e17b + 4cb69be commit f8a992c

File tree

12 files changed

+19
-20
lines changed

12 files changed

+19
-20
lines changed

conf/shiro.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,14 @@ admin = password1
2222
user1 = password2
2323
user2 = password3
2424

25+
# Sample LDAP configuration, for user Authentication, currently tested for single Realm
26+
[main]
27+
#ldapRealm = org.apache.shiro.realm.ldap.JndiLdapRealm
28+
#ldapRealm.userDnTemplate = cn={0},cn=engg,ou=testdomain,dc=testdomain,dc=com
29+
#ldapRealm.contextFactory.url = ldap://ldaphost:389
30+
#ldapRealm.contextFactory.authenticationMechanism = SIMPLE
2531

2632
[urls]
27-
2833
# anon means the access is anonymous.
2934
# authcBasic means Basic Auth Security
3035
# To enfore security, comment the line below and uncomment the next one

ignite/src/main/resources/default-ignite-jdbc.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@
3333

3434
<property name="peerClassLoadingEnabled" value="true"/>
3535

36-
<property name="marshaller">
37-
<bean class="org.apache.ignite.marshaller.optimized.OptimizedMarshaller">
38-
<!-- Set to false to allow non-serializable objects in examples, default is true. -->
39-
<property name="requireSerializable" value="false"/>
40-
</bean>
41-
</property>
42-
4336
<!-- Explicitly configure TCP discovery SPI to provide list of initial nodes. -->
4437
<property name="discoverySpi">
4538
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">

ignite/src/test/java/org/apache/zeppelin/ignite/IgniteSqlInterpreterTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ public void setUp() {
6060
IgniteConfiguration cfg = new IgniteConfiguration();
6161
cfg.setDiscoverySpi(discoSpi);
6262
cfg.setPeerClassLoadingEnabled(true);
63-
cfg.setMarshaller(new OptimizedMarshaller());
6463

6564
cfg.setGridName("test");
6665

phoenix/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@
4545
<scope>provided</scope>
4646
</dependency>
4747

48+
<dependency>
49+
<groupId>sqlline</groupId>
50+
<artifactId>sqlline</artifactId>
51+
<version>1.1.9</version>
52+
</dependency>
53+
4854
<dependency>
4955
<groupId>org.apache.phoenix</groupId>
5056
<artifactId>phoenix-core</artifactId>

spark/src/main/java/org/apache/zeppelin/spark/ZeppelinContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public Object select(String name, Object defaultValue,
220220
paramOptions[i++] = new ParamOption(valueAndDisplayValue._1(), valueAndDisplayValue._2());
221221
}
222222

223-
return gui.select(name, "", paramOptions);
223+
return gui.select(name, defaultValue, paramOptions);
224224
}
225225

226226
public void setGui(GUI o) {

zeppelin-web/src/app/home/home.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ a.navbar-brand:hover {
184184

185185
.server-status {
186186
font-size: 12px;
187-
margin-top: 6px;
187+
margin-top: 8px;
188188
}
189189

190190
.server-connected {

zeppelin-web/src/app/notebook/paragraph/paragraph.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@
202202
font-weight: bold;
203203
font-family: 'Roboto', sans-serif;
204204
font-size: 17px !important;
205-
text-transform: capitalize;
206205
}
207206

208207
.paragraph .title input {
@@ -215,7 +214,6 @@
215214
border-radius: 0;
216215
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
217216
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
218-
text-transform: capitalize;
219217
font-family: 'Roboto', sans-serif;
220218
font-size: 17px !important;
221219
font-weight: bold;

zeppelin-web/src/components/navbar/navbar.controller.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ angular.module('zeppelinWebApp').controller('NavCtrl', function($scope, $rootSco
2323
vm.connected = websocketMsgSrv.isConnected();
2424
vm.websocketMsgSrv = websocketMsgSrv;
2525
vm.arrayOrderingSrv = arrayOrderingSrv;
26-
vm.authenticated = $rootScope.ticket.principal !== 'anonymous';
2726

2827
angular.element('#notebook-list').perfectScrollbar({suppressScrollX: true});
2928

@@ -52,8 +51,6 @@ angular.module('zeppelinWebApp').controller('NavCtrl', function($scope, $rootSco
5251
websocketMsgSrv.getNotebookList();
5352
}
5453

55-
vm.authenticated = $rootScope.ticket.principal !== 'anonymous';
56-
5754
function isActive(noteId) {
5855
return ($routeParams.noteId === noteId);
5956
}

zeppelin-web/src/components/navbar/navbar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
</li>
7474
<li class="server-status">
7575
<i class="fa fa-circle" ng-class="{'server-connected':navbar.connected, 'server-disconnected':!navbar.connected}"></i>
76-
<span ng-show="navbar.authenticated">{{ticket.principal}} connected</span>
77-
<span ng-show="!navbar.authenticated">Disconnected</span>
76+
<span ng-show="navbar.connected">Connected</span>
77+
<span ng-show="!navbar.connected">Disconnected</span>
7878
</li>
7979
</ul>
8080
</div>

zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/repo/NotebookRepoSync.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public NotebookRepoSync(ZeppelinConfiguration conf) {
7878
} catch (ClassNotFoundException | NoSuchMethodException | SecurityException |
7979
InstantiationException | IllegalAccessException | IllegalArgumentException |
8080
InvocationTargetException e) {
81-
LOG.warn("Failed to initialize {} notebook storage class {}", storageClassNames[i], e);
81+
LOG.warn("Failed to initialize {} notebook storage class", storageClassNames[i], e);
8282
}
8383
}
8484
// couldn't initialize any storage, use default

0 commit comments

Comments
 (0)