drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjiv Kumar <ktrsan...@gmail.com>
Subject Custom Authenticator in Window Operating System.
Date Wed, 04 May 2016 12:56:02 GMT
Hello
        I am using Drill in Window 8.1 with latest version (1.6).

I am trying to create custom authentication in in window operating system
 following this java file:-

https://drill.apache.org/docs/configuring-user-authentication/#implementing-and-configuring-a-custom-authenticator
.

While compiling this java file in window i got error:-

annot find symbol

   @UserAuthenticatorTemplate(type = "myCustomAuthenticatorType")
    ^
  symbol: class UserAuthenticatorTemplate
.\org\apache\drill\common\config\DrillConfig.java:44: error: cannot find
symbol
public class DrillConfig extends NestedConfig {
                                 ^
  symbol: class NestedConfig
.\myorg\dept\drill\security\MyCustomDrillUserAuthenticatorImpl.java:36:
error: c
annot find symbol
    public void authenticate(String userName, String password) throws
UserAuthen
ticationException {
                                                                      ^
  symbol:   class UserAuthenticationException
  location: class MyCustomDrillUserAuthenticatorImpl
.\com\google\common\collect\ImmutableList.java:24: error: cannot find symbol
import static com.google.common.collect.RegularImmutableList.EMPTY;
                                       ^
  symbol:   class RegularImmutableList
  location: package com.google.common.collect
.\com\google\common\collect\ImmutableList.java:24: error: static import
only fro
m classes and interfaces
import static com.google.common.collect.RegularImmutableList.EMPTY;
^
.\com\google\common\collect\ImmutableList.java:54: error: cannot find symbol
public abstract class ImmutableList<E> extends ImmutableCollection<E>
                                               ^
  symbol: class ImmutableCollection
.\com\typesafe\config\Config.java:166: error: cannot find symbol
public interface Config extends ConfigMergeable {
                                ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:179: error: cannot find symbol
    public void trace(Marker marker, String format, Object arg);
                      ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:192: error: cannot find symbol
    public void trace(Marker marker, String format, Object arg1, Object
arg2);
                      ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:204: error: cannot find symbol
    public void trace(Marker marker, String format, Object... argArray);
                      ^

  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:308: error: cannot find symbol
    public void debug(Marker marker, String format, Object arg);
                      ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:320: error: cannot find symbol
    public void debug(Marker marker, String format, Object arg1, Object
arg2);
                      ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:331: error: cannot find symbol
    public void debug(Marker marker, String format, Object... arguments);
                      ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:341: error: cannot find symbol
    public void debug(Marker marker, String msg, Throwable t);
                      ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:415: error: cannot find symbol
    public boolean isInfoEnabled(Marker marker);
                                 ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:423: error: cannot find symbol
    public void info(Marker marker, String msg);
                     ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:433: error: cannot find symbol
    public void info(Marker marker, String format, Object arg);
                     ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:445: error: cannot find symbol
    public void info(Marker marker, String format, Object arg1, Object
arg2);
                     ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:456: error: cannot find symbol
    public void info(Marker marker, String format, Object... arguments);
                     ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:466: error: cannot find symbol
    public void info(Marker marker, String msg, Throwable t);
                     ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:541: error: cannot find symbol
    public boolean isWarnEnabled(Marker marker);
                                 ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:549: error: cannot find symbol
    public void warn(Marker marker, String msg);
                     ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:559: error: cannot find symbol
    public void warn(Marker marker, String format, Object arg);
                     ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:571: error: cannot find symbol
    public void warn(Marker marker, String format, Object arg1, Object
arg2);
                     ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:582: error: cannot find symbol
    public void warn(Marker marker, String format, Object... arguments);
                     ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:592: error: cannot find symbol
    public void warn(Marker marker, String msg, Throwable t);
                     ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:667: error: cannot find symbol
    public boolean isErrorEnabled(Marker marker);
                                  ^
  symbol:   class Marker
  location: interface Logger
.\org\slf4j\Logger.java:675: error: cannot find symbol
    public void error(Marker marker, String msg);
                      ^
 symbol:   method value()
  location: @interface GwtIncompatible
.\com\google\common\collect\ObjectArrays.java:71: error: cannot find symbol
  @GwtIncompatible("Array.newInstance(Class, int)")
                   ^
  symbol:   method value()
  location: @interface GwtIncompatible
60 errors..

I want to know that what are the required classes and jar files for
compiling this java file in window environment. Or How i will create
 custom authentication in window








 ......................
  Thanks & Regards
  *Sanjiv Kumar*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message